Skip to Content Skip to Menu

Strange issue with translations

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 months 3 weeks ago - 5 months 3 weeks ago #338381 by Astrid
Strange issue with translations was created by Astrid
See this topic .
When searching for "Query" in cbquery language files in Transifex, it is translated nicely in Query.
When searching for "Query" in Language NL it results in "Vraag".
 
Did some digging and found this:
 
In CBQuery plugin this results in
   

Last edit: 5 months 3 weeks ago by Astrid.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48603
  • Thanks: 8300
  • Karma: 1445
5 months 3 weeks ago #338383 by krileon
Replied by krileon on topic Strange issue with translations
Plugin language strings can be duplicates since they're completely independent plugins. Currently their language keys aren't unique to each plugin, but they will be in CB 3.x. So the way this generally works is as follows.

Plugin Loads > Plugin Lang Strings Load > Plugin Runs

So for CB Query Field to be translated properly it needs to be translated in /languages/nl-nl/cbqueryfield-language.php, which it's not in your above screenshot.

Translations are a community effort. We don't handle those ourselves (I only know English, sorry). So if it's not translated there's nothing I can do about that beyond joining Transifex and translating it. We'll be switching to a self hosted solution in the future and we'll be using AI translations to fill that gap and while not perfect it'll hopefully be better than nothing.

I'll be rebuilding all the language plugins this week so now is a good time to finish up any Transifex contributions. They've limited our API access so I have to do this manually. Once we move to self hosted we'll have this entirely automated.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 months 3 weeks ago #338384 by Astrid
Replied by Astrid on topic Strange issue with translations

So for CB Query Field to be translated properly it needs to be translated in /languages/nl-nl/cbqueryfield-language.php, which it's not in your above screenshot.

Yes it is "translated".
As it is a technical term it should stay as it is.
But cb now uses the wrong translation "Vraag" which is, translated in English "Question".
I suppose that when you are looking for a query field you don't expect it to be named "Question".

I can't find aan option to join all Dutch Transifex teams. Seems like I have to join them one by one which is quite annoying. If not I would have already changed the 2 wrong translations.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48603
  • Thanks: 8300
  • Karma: 1445
5 months 3 weeks ago #338385 by krileon
Replied by krileon on topic Strange issue with translations
Due to language strings duplicating it's possible for them to conflict like that. The real issue is it seams Query was translated incorrectly to Vraag.

I can't find aan option to join all Dutch Transifex teams. Seems like I have to join them one by one which is quite annoying. If not I would have already changed the 2 wrong translations.

I know and I'm sorry the platform is annoying. That's another reason why we'll be switching to a self hosted solution. Most likely Weblate.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Astrid
  • Astrid
  • OFFLINE
  • Posts: 183
  • Thanks: 68
  • Karma: 10
5 months 3 weeks ago #338386 by Astrid
Replied by Astrid on topic Strange issue with translations
The problem is indeed that some "translators" use a "shortcut" and simply use Google Translate.

For now I will create my own translations for missing frontend translations and set my backend language to English.

Thanks for your time.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantloutkrileonRobertvanderHulst
Powered by Kunena Forum