August 9, 2013
Dear Support Team,
after the upgrade of AWPCP to the new version 4, obviously, I cannot use my old translated PO file for the new AWPCP, can I? As I have invested a lot of time in the translation of all the strings, it would be great to be able to migrate the old PO file to the new AWPCP.
Is that possible?
Thanks a lot for a brief feedback and kind regards
September 4, 2013
Thank you for your post. Yes, that is possible!
If you are using a custom translation for your language is very likely that your PO file will become outdated when a new version of the plugin is released. Follow the instructions below to update your custom translation file to include an up to date list of strings to translate:
- Open existing translation file (another-wordpress-classifieds-plugin-de_DE.po, for example) using Poedit.
- Go to the Catalog menu and choose the Update from POT File sub menu.
- Use the Open File dialog to open the file another-wordpress-classifieds-plugin.pot, included in the languagesdirectory of AWPCP.
- Poedit will report how many strings were added and how many are obsolete. Click Ok to complete the update.
- Your custom PO file should be now updated. The status bar at the botton of Poedit will show the total number of strings in the translation file, as well as how many are pending translation and how many were automatically translated using fuzzy match.
- Strings that are not translated and those that were automatically translated need to be updated.WordPress does not recognize translations that are marked as fuzzy, so you need to updated or manually mark them as not-fuzzy.
If you edit a fuzzy translation, it gets marked as non-fuzzy automatically, but that can also be done using the Needs Work button in Poedit’s UI. Clicking the button toggles the fuzzy status of the selected string.
- Make sure POEdit is configured to generate a .mo file when you save your PO file. The .mo file is a compiled version of the translations file and is the file WP will read to get translations for the plugin.
- Finally, save the catalog and make sure to copy both the .po and .mo files to the languages/ directory inside AWPCP plugin folder.
Full translation documentation is here: https://awpcp.com/knowledge-base/translate-awpcp-native-language-modify-labels-awpcp/
Most Users Ever Online: 163
Currently Browsing this Page:
Johnny B: 140
NAIN KHAN: 93
Guest Posters: 35
Newest Members:BrianerV, Norbert, Sean Mac, Fasopimola, Tim, bila bachtiar, Muhammad Bilal, klikpokervip, Ludovice, Kerofen
Moderators: awpcp: 7530, AWPCP Support: 5581, Bobbie Devereux: 2
Administrators: wpengine: 0, awpcp: 300