New home › Forums › Pro Add-on › Problems in translating to Norwegian
Tagged: language, translation
- This topic has 18 replies, 1 voice, and was last updated 3 years ago by Perry.
October 18, 2017 at 12:15 pm #31346GressliMember
I’ve tried to use the Norwegian translation of the (pro) plugin. However it doesn’t show up.
I’ve tried to
a) Do everything in the documentation (WP set to Norwegian etc)
b) Make a copy og wp-google-maps-no_No.po and .mo and put those in the folder “wp-content/languages/plugins”
c) looked through topics here to find a solution. It the one thing I found was that there might be a string in the norwegian translation file (attached) that is no longer current, which makes the translation file not loading properly.
Currently the norwegian translation is anyways lacking a lot of translations, and some of them weren’t that good. Can you provide me with an up to date file, so I can make a fresh translation to Norwegian in a file that’s working. Then we can see if that works?
Attachments:You must be logged in to view attached files.October 18, 2017 at 12:16 pm #31348GressliMember
Just posting a reply, as I forgot to mark “Notify of replies via email”.October 18, 2017 at 4:24 pm #31364PerryModerator
My apologies for the delay in responding to this, thank you for bringing it to our attention.
Could you please just clarify that what you’re saying is the strings specific to Pro don’t show up at all?
There is a PHP fix for this which we can apply if that’s the case, would you be comfortable implementing that yourself, or alternatively, would it be possible for me to get FTP access to the site? If so please be sure to mark your reply as private for security reasons.
– PerryOctober 18, 2017 at 4:29 pm #31365GressliMember
I dont know which strings, but according to a few posts I found on this forum, that seemed to be the most likely reason.
Since the Norwegian translation anyways was unfinished, I suggested that I could translate it completely if you supplied an up-to-date file. So I could try to SEE if that was the issue.October 18, 2017 at 4:31 pm #31367PerryModerator
Could you please confirm that you did try that, and that it didn’t work?
If that is the case then we’ll look at the PHP fix,
If that’s not the case then I’m pleased to inform you that we offer rewards for user contributed translation, if you’re open to that.
Kind regardsOctober 18, 2017 at 4:36 pm #31368GressliMember
I haven’t Tried yet, no, as I would like a file from you, so we can be sure that there is no strings lacking. I’d like to try a translation first, as a new translation anyways must be done.
So, yeah, I’d be open to that 🙂
Can you send me the translation file that’s updated with the lastes strings, then I’ll translate and try that first.October 19, 2017 at 11:34 am #31397GressliMemberThis reply has been marked as private.October 19, 2017 at 12:43 pm #31401PerryModerator
I’m having some trouble finding those two files.
I’ve tried setting the language of my WP installation to no_NO so I can download the most up to date version of those translations,
However I can’t seem to set my site to that locale. I have a choice of Norsk bokmål (nb_NO) or Norsk nynorsk (nn_NO).
There are no strings in either of these locales. I believe that no_NO may be referred to nb_NO, as a native speaker perhaps you could shed a bit of light on this?
Kind regardsOctober 19, 2017 at 12:52 pm #31402GressliMember
Ah! Of course! That is indeed the problem. The files is named wrong!
All norwegian translations are in general Norsk bokmål, so your files should be named nb_NO, not no_NO. I updated the names to be nb_NO and it all worked fine =)
I’ll make the translation now and upload the complete files here when I’m done.October 19, 2017 at 2:03 pm #31408PerryModeratorThis reply has been marked as private.January 27, 2018 at 1:59 pm #34123[email protected]Member
Hi, did anything happen with this? Just bought a Pro license, but support for Norwegian language seems lacking – upon inspecting the language file, it is still named no_NO.
Example – When enabling directions the heading still reads “Get directions”, while some other parameters are in Norwegian. Inspecting the .po-file, reveals that “Get directions” indeed is translated, but somehow the map in my post doesn’t recognize this.
Lars-ErikJanuary 29, 2018 at 10:47 am #34153PerryModerator
Thanks for getting in touch!
Are you sure that is the right suffix for the language file?
I believe there is more than one locale code for Norwegian.
Please let me know?
– PerryJanuary 30, 2018 at 12:42 pm #34197GressliMember
It’s just edit name of the language file to nb_NO and it works splendidly =)January 30, 2018 at 1:16 pm #34198PerryModerator
Thanks for letting us know!
Is there anything else we can help you with?
– PerryJanuary 30, 2018 at 1:37 pm #34200[email protected]Member
Okay, perfect – thanks! I reckon this will be dealt with in the next version of the plugin, @Perry?
- You must be logged in to reply to this topic.