[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limited translation options


On Wednesday, October 14th, 2026 at 22:17, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:

> On Wednesday, October 14th, 2026 at 12:09, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:
> 
> > On Wednesday, October 14th, 2026 at 07:30, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:
> >
> > > Le 13/10/2026 à 23:24, gbWilly a écrit :
> > > > On Tuesday, October 13th, 2026 at 17:58, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:
> > > >>
> > > >> It's just a matter of updating the 'MyLanguage' module in the IDE source
> > > >> code by adding the languages you need.
> > > >>
> > > >> Regards,
> > > >>
> > > >> --
> > > >> Benoît Minisini.
> > > >>
> > > > Nice, thanks for the pointer.
> > > >
> > > >
> > > > gbWilly
> > > >
> > > > ...there is always a Catch if things go wrong!
> > >
> > > If you can't do it, I will. But if you can make a merge request, you are
> > > welcome. :-)
> > >
> > > --
> 
> Ok, now that I have seen all players involved I noticed that in the Language.class there are several languages from India that are not in the MyLanguage.module for some reason, Hindi is in there twice
> 
> Other things I noticed is that for Arabic the Egyptian version is used, where Arabic originates from the Arabic peninsula. so Saudi Arabia seems the more proper choice. It's like taking Canadian French as the 'common' one instead of French from France, where French originates from.
> 
> And with languages with multiple options why not follow what you do in English and Spanish and call one the 'common' one. This 'common' one will always be applied if any of other translation variants of that language is missing.
> 
> If you are okay with it I will have a look at it all, make sure that Language.class and MyLanguage.module are in sync and add a 'common' for languages with multiple translation options for different regions/countries where the place the languages originates from becomes the 'common'.
> 
> The Country codes in Language.Class needed for the flags, where can I find those, as they are not always the same as the locale country code?
> 
> 

To demonstrate what I exactly mean (an image often says more than words can explain):
In the added image left the MyLanguage.module and right the Language.class.

In both ar was set to Arabic (Egypt) -> I changed that to be Arabic (common)
I added Arabic (Egypt) to both
In the Language.class Arabic (Tunisia) was present, but not in MyLanguage.module. -> I added Arabic (Tunesia) to MyLanguage module
I added Arabic (Saudi Arabia) to both
I set $cCode["ar"] to point to the Saudi Arabian version Arabic in Language.class
I set $cCountry{"ar"] to point to Saudi Arabian flag

This shows very clearly with what I mean. And I'm willing to get all that is there in sync between the two, apply the common to all languages that have multiple variants and if needed add a language to achieve that goal.

I don't mind being your AI to find trouble in code and restore it, it will only make me smarter and not big tech ;-)

I won't go into the effort if above is not desired, so let me know what you think.

gbWilly

...there is always a Catch if things go wrong!

Attachment: 1.png
Description: PNG image


Follow-Ups:
Re: Limited translation optionsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
References:
Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Limited translation optionsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Limited translation optionsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>