Duplicating languages

I have French translations.

Canadian people get English, because Canadian French is ‘another language’

Is there a simple way to get the existing french translations duplicated as Canadian French in the project?

I can export the existing to a locale file for Lingua, but the file ‘knows what it was’…

Actually, scratch that.

Apple recognises French Canadian, Xojo does not include it in the list of possibles..

I’m sure that the support for language variants has been in the feedback system for ages.

You can only do “de” for instance for German but not “de_at” (for German in Austria). Also Canadian French like German in Austria will have separate words and not be identical to French from Franc.

2 Likes

I’ve been working with other frameworks lately and discovered that Xojo’s way of handling localised strings is pretty much ice age compared to modern platforms…

Binary format export, unconventional escaped strings in text format, comments aren’t exported with each constant, etc.

Time for a massive change.

4 Likes

If you create a feature request I’ll give it a :+1:

1 Like

I logged a request back in 2018 to make the Lingua files version control system friendly.

https://tracker.xojo.com/xojoinc/xojo/-/issues/54402

1 Like

Apparently there is an XML language format that some languages use. Googles AI keeps offering to generate in that format. It would be better to follow an existing “standard” than invent anything new.