Sie sind vermutlich noch nicht im Forum angemeldet - Klicken Sie hier um sich kostenlos anzumelden Impressum 
Sie können sich hier anmelden
Dieses Thema hat 20 Antworten
und wurde 1.861 mal aufgerufen
 Catalan
Seiten 1 | 2
Scotty Offline

Administrator


Beiträge: 3.777

30.07.2012 10:17
#16 RE: Catalan flag Zitat · Antworten

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




Beiträge: 63

30.07.2012 10:34
#17 RE: Catalan flag Zitat · Antworten

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


Beiträge: 3.777

30.07.2012 20:04
#18 RE: Catalan flag Zitat · Antworten

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 Offline




Beiträge: 90

30.07.2012 20:29
#19 RE: Catalan flag Zitat · Antworten

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




Beiträge: 63

30.07.2012 20:52
#20 RE: Catalan flag Zitat · Antworten

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 Offline




Beiträge: 90

06.12.2012 00:50
#21 RE: Catalan flag Zitat · Antworten

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

Seiten 1 | 2
 Sprung  
Xobor Forum Software von Xobor.de
Einfach ein Forum erstellen
Datenschutz