Scotty
Offline Administrator
30.07.2012 10:17
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
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
30.07.2012 20:04
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.
Announcements
| | - English
| | - Deutsch
English
| | - Bugreports & Suggestions
| | | - Bugreports & Suggestions
| | | - Solved bugs
| | | - From patch to patch
| | - FAQ and support
| | | - Questions about the program
| | | - User's guide for Scrabble3D
| | | - Wiki
| | | - About the code, compilation and debugging
| | - Server
| | | - Server status
| | | - Questions about server and network games
| | - Scrabble3D
| | | - Localization
| | | - Design
| | | - English dictionaries
| | - General
| | | - Forum, Facebook, Twitter
| | | - Café
Deutsch
| | - Für neue Forumsmitglieder und Forumsgäste
| | | - Leitfaden
| | - Fehlermeldungen & Wünsche
| | | - Fehlermeldungen & Wünsche
| | | - Behobene Fehler und erfüllte Wünsche
| | | - Beobachtungen
| | | - Fragen zu den Sprachdateien
| | - FAQ und Support
| | | - Fragen zum Programm
| | | - Fragen bei Problemen
| | | - Tipp des Tages
| | | - Wiki
| | - Server
| | | - Serverstatus
| | | - Fragen zum Server und Netzwerkspiel
| | - Allgemeines
| | | - Forum, Facebook, Twitter
| | | - Informatives
| | | - Scrabble-Partien
| | | - Internationales
| | | - Unterhaltsames, Grüße und Wünsche
| | | - Café
| | - Turniere
| | | - Online-Turniere mit Scrabble3D
| | | - Sonstige Turniere und Scrabble-Treffs
| | - Rätselecke
| | | - Geros Superscrabble-Rätsel
| | | | - Allgemeines
| | | | - 2010
| | | | - 2011
| | | | - Diskussion
| | | | - Lösungen
| | | - Grangraus Geo-Rätsel
| | | | - Classic Geo
| | | | - Super Geo
| | | - Anagramme
| | | - 3.1.4
Geros SuperDic - die ultimative Wortfabr...
| | - Einführung in Geros SuperDic
| | - Fragen zum Scrabble-Wortschatz
| | - Problemlösungen zu einzelnen Buchstaben
| | | - A
| | | - B
| | | - C
| | | - D
| | | - E
| | | - F
| | | - G
| | | - H
| | | - I
| | | - J
| | | - K
| | | - L
| | | - M
| | | - N
| | | - O
| | | - P
| | | - Q
| | | - R
| | | - S
| | | - T
| | | - U
| | | - V
| | | - W
| | | - X
| | | - Y
| | | - Z
| | | - Ä
| | | - Ö
| | | - Ü
| | | - sonstige
| | | - Minimalpaare
| | - Gültig oder nicht gültig? Die Crux mit d...
| | | - A
| | | - B
| | | - C
| | | - D
| | | - E
| | | - F
| | | - G
| | | - H
| | | - I
| | | - J
| | | - K
| | | - L
| | | - M
| | | - N
| | | - O
| | | - P
| | | - Q
| | | - R
| | | - S
| | | - T
| | | - U
| | | - V
| | | - W
| | | - X
| | | - Y
| | | - Z
| | - Der Blick übern Zaun: Universalduden & Co
| | - Duden
| | | - Externer Direktlink zu Geros SuperDic-Ch...
| | - Tipps und Tricks zu Scrabble
| | - Tutorial: Die Wortsuche in Scrabble3D
| | | - Allgemeines
| | | - Inhaltsverzeichnis
| | | - L 1
| | | - L 2
| | | - L 3
| | | - L 4
| | | - L 5
| | | - L 6
| | | - L 7
| | | - L 8
| | | - Diskussion und Fragen
| | - Kurioses und Unterhaltsames
| | - Archiv
| | | - RD 25
| | | - RD 26
Français
| | - Mises à jour
| | - Rapports de bogues & suggestions
| | | - Rapports de bogues & suggestions
| | | - Bogues éliminés & désirs exaucés
| | - FAQ et support
| | | - Questions sur le programme
| | | - Questions lors de problèmes
| | | - Conseil du jour
| | | - Wiki
| | - Serveur
| | | - Statut du serveur
| | | - Questions sur le serveur et les jeux en ...
| | - Scrabble3D
| | | - Forum, Facebook, Twitter
| | | - français.dic
| | | - Validité des mots
| | | - Café
Italiano
| | - Aggiornamenti
| | - Segnalazioni di bug e suggerimenti
| | | - Segnalazioni di bug e suggerimenti
| | | - Bug eliminati e richieste esaudite
| | - FAQ e supporto
| | | - Domande sul programma
| | | - Suggerimento del giorno
| | | - Wiki
| | - Server
| | | - Status del server
| | | - Domande sul server di gioco ed il gioco ...
| | - Scrabble3D
| | | - Scrabble in generale
| | | - italiano.dic
| | | - Forum, Facebook, Twitter
| | | - Caffè
| | - Problemi di Scrabble
| | | - 2011
| | - Napulitano
Español
| | - Actualizaciones
| | - FAQ y soporte
| | | - Preguntas sobre el programa
| | | - Wiki
| | - Servidor
| | | - Estatus del servidor
| | | - Preguntas sobre el servidor de juego y e...
| | - Scrabble3D
| | | - español.dic
| | | - Forum, Facebook, Twitter
| | | - Café
| | - Scrabble en general
| | | - Desafíos y rompecabezas
Svenska
| | - Uppdateringar
| | - FAQ och support
| | - Server
| | | - Serverstatus
| | | - Frågor om servern och nätverksspel
| | - Scrabble3D
| | | - Café
Lingua Latina
| | - Auxilium: De ludo Scrabble3D lingua Lati...
| | - De verbis in indicem latin.dic referendis
| | | - A
| | | - B
| | | - C
| | | - D
| | | - E
| | | - F
| | | - G
| | | - H
| | | - I
| | | - L
| | | - M
| | | - N
| | | - O
| | | - P
| | | - Q
| | | - R
| | | - S
| | | - T
| | | - U
| | | - V
| | | - X
| | | - Sonstige: K Y Z
| | | - Grundsatzentscheidungen
| | | - Problemfälle des L&S-Wortschatzes
| | | - Fragen zur Grammatik
| | | - Lewis & Short - Lexikographisches
| | | - Gesamtlisten
| | | - Sonstige Listen
| | - Universalia
| | | - De programmate ludoque Scrabble3D
| | | - Discussions in English about Latin Scrabble
| | | - Taberna
| | - Aenigmata Scrabularum
International
| | - General: Internationalization and Locali...
| | | - Practical tips for translation of *.lang...
| | | - General Questions About Translation/Loca...
| | | - International Scrabble Rules
| | | - Tipps für Fremdsprachen
| | | - International Users' Requests
| | - Arabic
| | - Basque
| | - Catalan
| | - Celtic languages
| | | - Irish Gaelic - Gaeilge
| | | - Díospóireacht faoi Scrabble i nGaeilge
| | | - Scottish Gaelic - Gàidhlig
| | | - Deasbadan air Scrabble sa Ghàidhlig
| | - Dutch
| | - Esperanto
| | - Finnish
| | - Fula / Fulfulde / Pulaar
| | - Greek
| | | - Ἑλληνικὴ γλῶσσα - Ancient Greek - Altgri...
| | | - Νέα Ελληνικά - Modern Greek - Neugriechisch
| | - Hebrew
| | - Hungarian
| | - Persian
| | | - Scrabble3D auf Persisch
| | | - Farsinchens Café
| | - Polish
| | - Portuguese
| | - Romanian
| | - Russian
| | - Slovakian
| | - Tamil
| | - More languages
Sprung