BASIC

Author Topic: Language & Country Selection  (Read 2931 times)

MrTAToad

  • Guest
Language & Country Selection
« on: 2010-Dec-06 »
This the the first peek of my Language (and Country) selection routine.  The idea being that the user can select one of a given number of supported languages, with a default language being chosen for the user's country.

With this example, there are only three supported languages English, Welsh and German (and only for the main screen too).  So, if you aren't from England or Germany, then you'll be stuck with Welsh :)

All known countries are present and theoretically with the proper font and text files all languages could be supported too.

The routine isn't finished yet - the title needs changing along with all country names into their default languages

[attachment deleted by admin]

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10682
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Language & Country Selection
« Reply #1 on: 2010-Dec-07 »
looks great. We should all use a common (open shared) google spreadsheet to add translations of phrases. And build a "global" sheet for all our games with the help of so many languages we have here ATM.

MrTAToad

  • Guest
Re: Language & Country Selection
« Reply #2 on: 2010-Dec-07 »
Yes, would be a good idea.  I really need to revise my Language creation program at some point :)

Offline Wampus

  • Prof. Inline
  • *****
  • Posts: 1004
    • View Profile
Re: Language & Country Selection
« Reply #3 on: 2010-Dec-07 »
Nicely done MrTAToad. Looks promising.

Some help with translation would also be great and having people speaking so many languages at the forum here is definitely a useful resource.

Offline Gregory Atlas

  • Mc. Print
  • *
  • Posts: 27
    • View Profile
    • Zeewolf
Re: Language & Country Selection
« Reply #4 on: 2010-Dec-08 »
Looks very interesting, i shall watch this :)
.... Homepage ....

MrTAToad

  • Guest
Re: Language & Country Selection
« Reply #5 on: 2010-Dec-08 »
Just need to optimise it and post the code for it, along with all rules and regulations :)

Offline gigios

  • Mc. Print
  • *
  • Posts: 36
    • View Profile
Re: Language & Country Selection
« Reply #6 on: 2011-May-20 »
I 'resurrected' this thread to ask about what is the best way to manage the multilingual.

Can you release the source code of this sample?
What do you think is the best way to manage multi-language files? (ini file, custom text file, other?)

Thanks

MrTAToad

  • Guest
Re: Language & Country Selection
« Reply #7 on: 2011-May-20 »
At the moment I'm writing a program that should help translate and create text for multiple languages.

Have a look at :

<a href="http://www.youtube.com/watch?v=gWuJO3hiWMc" target="_blank">http://www.youtube.com/watch?v=gWuJO3hiWMc</a>

I've also included the code for the country & language selection.  Its not compatible with my new system, but that wont matter yet


[attachment deleted by admin]

Offline gigios

  • Mc. Print
  • *
  • Posts: 36
    • View Profile
Re: Language & Country Selection
« Reply #8 on: 2011-May-20 »
Thanks a lot.

This is surely a good starting point in waiting for your next production.

This is my expression  :nw: