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

Re: Limited translation options


On Thursday, October 15th, 2026 at 09:06, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Maybe someone whose Arabic is first language will tell you. I'm not
> sure, but I think that the Arabic spoken in Egypt is regarded as the
> most common one, i.e. the middle between all different arabic variants.
> 

I looked up and it turns out that Arabic spoken in Egypt is most widely spoken. And besides that Egyptian movies, music, and TV shows have been popular across the Middle East for decades. That means even people from countries like Saudi Arabia, UAE, and Jordan understand it. (https://arabiclanguagehub.com/whats-the-most-widely-spoken-arabic-dialect/)
So, I'll leave Arabic (Egypt) as the common one and remove the Saudi Arabian one (that was just to demonstrate what I meant)

> >>
> >> 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.
> 
> Logically you are right.
> 
> >>
> >> 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'.
> 
> I suggest that you work first only on the 'Language' class in 'gb.util'.
> And once everything works as expected, we will replace 'MyLanguage' by
> 'Language' in the IDE.
> 
> >>
> >> 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?
> 
> https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
> 
> I use the third column of the previous table.
> 

Ok, thanks

 
> Besides my comments, you are welcome to fix and clean-up that 'Language'
> class!
> 

I'll bring them both in sync and then you can do with it what you want.
I don't know how all exactly interact, and if MyLanguage.module is even used or only the Language.class

I'm also gonna add Serbian as that is a European language I noticed was still missing.
I'll send the merge request when done.

gbWilly


Follow-Ups:
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
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>
Re: Limited translation optionsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: Limited translation optionsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>