Home › Forums › Additional Help › Translations › Not everything is translated while the data is in the .po / .mo files
- This topic has 7 replies, 3 voices, and was last updated 9 years, 8 months ago by Leah.
-
AuthorPosts
-
August 21, 2014 at 2:16 am #688372crystalparknewmediaParticipant
Hi,
I have some untranslated strings. Like “Previous Events” & “Next Events”, and some others here and there. Funny thing is that I checked the po/mo’s in the plugin end in de PRO add-on… there the strings are translated.
Running latest WP, latest plugin and latest PRO add-on. No funny additional plugins, checked on clean twenty fourteen with no plugins, same deal.
For example… in #tribe-events-footer sits an ul.tribe-events-sub-nav with 2 links, previous and next. Those are in English, while other stuff is correctly translated in my language.
Any thought on this?
With regards,
PaulAugust 21, 2014 at 3:07 pm #690016LeahMemberHi Paul,
Thanks for your post. The problem is that even though the strings are translated, the .po file itself is outdated so the translations don’t work as they should. What you’ll need to do is update the .po file you’re using with the latest .pot file. Check out the Getting Started post where you’ll find the file and the instructions to do this (in step #6).
If you need help, let me know what language you are using and I can assist you. I’d also be interested in having you add your translations to the plugins, if it’s one we don’t have an update for. You could earn a free PRO license in exchange. The details are in the Getting Started post as well.
Best,
Leah
August 22, 2014 at 2:03 am #690990crystalparknewmediaParticipantOk, I think I did everything ok but it’s still not translated.
Check: https://i.cloudup.com/YhV0RAv2Oj.png
It’s still in English while it is translated in the *.po & *.mo files.
The steps I took:- download the files from here and here
- opened the *.po’s and updated them from the *.pot file
- checked the translations: Previous / Next as seen in the screenshot
- Saved file and generated the *.mo file
- replaced them in both “events-calendar-pro” and “the-events-calendar” plugin folders
- checked wp-config.php for right WPLANG (define(‘WPLANG’, ‘nl_NL’);”
- refreshed / cleared cache and multiple browser check
Is there anything else I can check… or am I still missing something?
Why can’t I put the translation files in “wp-content/lang” folder so it’s update safe? Isn’t that the right way to go?Cheers,
PaulAugust 25, 2014 at 1:01 pm #699186DirkParticipantHi,
I noticed that you’re looking for a working nl_NL translation. Recently I was working on them and they were outdated. I translated also the missing things but I think they didn’t uptdate them yet. Haven’t heard back from then yet, they don’t visit that often I guess.
In the meantime you can find my finished and working (using them myself) Dutch translations in this post: https://tri.be/support/forums/topic/doing-dutch-translations/
Just replace your .mo and .po files and they should work. If they don’t, let me now, been working on/with them for a couple days now and I guess I can help you with it.
Cheers,
Dirk WestenbergAugust 25, 2014 at 3:03 pm #699453LeahMemberHi crystalparknewmedia,
If you need to maintain your specific translation, you would need to somehow keep it from getting overwritten in an update. However, I don’t think you’ll need to- can you please try downloading and installing the nl_NL files that Dirk made? Those will be automatically included in the next release of the plugin, and you wouldn’t need to worry about them getting overwritten. I suspect that doing that will fix your trouble with the Next/Previous links as well 🙂
Best,
Leah
August 25, 2014 at 3:21 pm #699478DirkParticipantHi,
Yes, what he said! ;). And if you need help translating specific words to make it suit your website a little more just let me know. Leah probably has a ton of topics to go through and I just did all that. No problem helping you out.Cheers,
DirkAugust 26, 2014 at 1:41 am #700626crystalparknewmediaParticipantHi,
Thanks, I got it sorted. I know how to work with *.po & *.mo files. Somehow not everything got translated. Don’t ask me why. Just now I logged in FTP replaced the files I made last week and it worked. So might have been some caching thing / develop server issue… beats me. Works now.
Thanks for your time.
PaulAugust 27, 2014 at 2:39 pm #704794LeahMemberGlad to hear you got things working Paul! Thanks for letting us know.
~Leah
-
AuthorPosts
- The topic ‘Not everything is translated while the data is in the .po / .mo files’ is closed to new replies.