You're not registered yet. Click here to register. Credits 
You can register here for free.
This topic has 20 replies
and has been read 1.073 times
 Catalan
pages 1 | 2
Scotty Offline

Administrator


Posts: 3.611

Mon Jul 30, 2012 10:17 am
#16 RE: Catalan flag Quote · reply

Doubling and renaming flags does not change any behavior. You can use "es" for menu and "catalan" for lang by now. Which use case will be fixed with your suggestion to use "es-lang" for lang and "ca-dic" for other options?
Last but not least: Isn't "ca" somewhat arbitrary for Catalan language? Let's assume Calabria has its own language and wants to uses "ca" as well.


Download: Sourceforge.net | Help:Scrabble3D Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


jmontane Offline




Posts: 63

Mon Jul 30, 2012 10:34 am
#17 RE: Catalan flag Quote · reply

I don't explain well my suggestion, sorry.

I don't speak about doubling resources. I'm speaking about following standards codes. Please, read ISO 639-1 languages codes and ISO 3166-1 country codes.

As you see, "ca" ISO language code is assigned to Catalan, and "ca" country code is assigned to Canada. So, we have two lists, codes for languages and codes for countries.

I claim the right to use "ca" code for Catalan in Scrabble3D when we are talking about languages, or language standard set profiles.


So, I see two possible aproaches:

1st double resources and adapt code of Scrabble3D, modify "CountriID to resourcename" and create a new "LangID to resource" function.

2nd, keep resources uniques and adapt code to "LangID to resourcename".

About 2nd aproach, I write a pseudocode. I think it's clear enough, but I write again the general idea.

A.- Keep all flag resources together, a single copy of each flag. Just rename "collision" languages codes (catalonia -> ca-lang)
B.- Code a new "LangID to resourcename" function. This function must use "xx-lang" resource if exists. Otherwise, it uses "xx" resource (as CountryID to resourcename do it now).

I know it's a minor issue for you. But keeping standards is very important.

Regards,
Joan Montané


Scotty Offline

Administrator


Posts: 3.611

Mon Jul 30, 2012 8:04 pm
#18 RE: Catalan flag Quote · reply

Now it's clear. Thinking about the whole I'm not sure to set up flag icons for languages. Lets discuss the issue after the next test version.


Download: Sourceforge.net | Help:Scrabble3D Wiki | Discussion: Forum | News: Twitter | Fanship: Facebook


Bussinchen Online




Posts: 17

Mon Jul 30, 2012 8:29 pm
#19 RE: Catalan flag Quote · reply

Please, let's keep the language flags anyway! Pleeeeeeeeeaaaaaaaase!!!!


I OpenSource!
• Scrabble3D Download: Sourceforge.net | • Scrabble3D Help: Wiki | • Scrabble3D News: Twitter | • Scrabble3D Fanship: Facebook
• Scrabble3D in Italia: Sezione Scrabble3D sul Forum della Federazione Italiana Gioco Scrabble


jmontane Offline




Posts: 63

Mon Jul 30, 2012 8:52 pm
#20 RE: Catalan flag Quote · reply

Zitat von Bussinchen im Beitrag #19
Please, let's keep the language flags anyway! Pleeeeeeeeeaaaaaaaase!!!!



+1, please, keep flags at Scrabble3D, :))))

We can use catalonia instead ca language code for now. But please, Scotty, improve "LanguageID to resourcename mapping in the future. I think a copy of current "CountryID to resourcename" function and a little hacking giving priority to "xx-lang.jpg" resources will be enough.


Bussinchen Online




Posts: 17

Thu Dec 06, 2012 12:50 am
#21 RE: Catalan flag Quote · reply

I have moved the dicussion about the flag question in general to the English section of our forum. From now on you'll find it among the Bugreports & Suggestions --> The flag question: Which symbols should we use for languages?

In this thread, however, we may continue our discussion about the Catalan flag only.

/Adminchen


I OpenSource!
• Scrabble3D Download: Sourceforge.net | • Scrabble3D Help: Wiki | • Scrabble3D News: Twitter | • Scrabble3D Fanship: Facebook
• Scrabble3D in Italia: Sezione Scrabble3D sul Forum della Federazione Italiana Gioco Scrabble


pages 1 | 2
 Jump  
disconnected Scrabble3D Chat Members online 1
Xobor Einfach ein eigenes Forum erstellen