Would have thought that the "_x:1,2c " bit would be enough to pick up the string, but it never does.
But as it is written, the "Add New" string simply wont show in PoEdit.Įven if I add manually the string to the po file, it will put it in the "obsolete strings" after trying to update to. And if I change _x to _ (and remove the context parameter) it picks that one as well. I know that Poedit is scanning that file (all the other translatable strings are picked up on "update catalog", and share the same domain). "esc_attr_ esc_attr_e esc_attr_x:1,2c esc_html_ esc_html_e esc_html_x:1,2cn"Īnd my php/wordpress code contains: _x( 'Add New', $this->post_type, $domain ), po file contains: "X-Poedit-KeywordsList: _ _e _ngettext:1,2 _n:1,2 _ngettext_noop:1,2 " Step4: Edit the po files inside the child theme with poedit and upload them in wprentals-child-po/languages via FTP or upload Loco Translate plugin and edit the. Step3: Upload the child theme and activate it. Unzip and find the wprentals-child-po.zip file Step2: Download the “All files & Documentation” from your buyer account. NOTE: Some default properties fields are managed from POEDIT (Address fields, Bedrooms, Rooms, Bathrooms, Size). For Property Fields – custom fields – please go to Listing Custom Fields –.For Property Features & Amenities – please go and edit them in Admin – Theme Options – Listing Custom Fields –.For Property Details, Property Features, Property Address – these labels are managed from Admin – Theme Options – Listing labels.THERE ARE SEVERAL ITEMS THAT YOU MUST EDIT/TRANSLATE IN THEME OPTIONS. What Details are translated from Theme Options You should have now wprentals.po, wprentals.mo + your new language po and mo. – plugins/wprentals -core/languages/ folder
– themes/wprentals-child-po/languages/ folder If the file name is not right the translation will not work. mo files with the proper name (for example de_DE.po). After the translation is done, you need to SAVE and rename both. Start adding the translated words for each theme string.ĥ. Set the language according to the language set in admin-Settings-GeneralĤ. Open wprentals.po from wprentals-child-po/languages and plugins/wprentals-core/languagesģ.
How to translate the languages with POEDITġ. Search for the words that you wish to rename and save.Ĭheck the language that you have chosen in Settings-General Make sure that you select the exact language as theme language
Please see below the steps that need to be followed: Install Loco Translate plugin In order to rename theme words, you can use Loco Translate plugin.
How to translate the languages with LOCO TRANSLATE plugin This includes modifying English terms and replacing them with your English terms (like Zip to Postcode and so on). You can translate WP RENTALS default text in any language with POEDIT or LOCO TRANSLATE plugin