-
Hi, I’ve substantially modified the wording in my mo/po files and want to avoid having to translate after every plugin updated. I’ve tried adding mo/po to mychildtheme/languages and also to wp-content/languages, however, they don’t take effect. Of course they work in the userpro/languages folder, but are overwritten after each update. Please advise how I can avoid this. Thanks!
I have no proper solution for this as this needs to be handled by the plugin update process which is currently unavailable.
What I do is the following.
Install: codestyle localization plugin.
Set your additional language to the additional wordpress language. If you need english then you can set it to another english option.
Set your configuration to another language and setup your language in codestyle localization.When youre done and there is a plugin upgrade, you upgrade via FTP/SFTP and choose to override all files, your translation files will not be overridden as they have their own “unsupported” extension.
More over, if you create your own translation files you may be missing on new feature translations. So… with this plugin you can scan for changes in the original translation file and place those changes in your custom translation.
Hope I was clear 😀
Ok here’s a work around.
When there’s an update,
1. Backup your language files
2. Update UserPro
3. Copy your language files back to /userpro/languages🙂
The topic ‘Where to store translated mo/po to avoid overwriting’ is closed to new replies.