Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Languages

  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Languages

    Hi all,

    Just need some direction on this:

    I need to start applying and developing applications in French and English. What i mean is the GUIs that i develop need to translate to French or English not translating word for word just the complete text. For example "Part Number" would be translated as a whole phrase not separate translations for each word.
    So what i need to do is have some sort of language lookup by detecting the users locale and then applying the appropiate language.

    I am open to suggestions on the "best" way to do this. My first thoughts are database, having a base phrase and then a French translation. The only downside to this i guess is round trips to the db everytime a page is loaded.

    My next thought was using xml. Storing paired values and outputting.

    The last thought was some type of .properties file that also had a base value in english and then an equivilant French translation.

    I dont want to use any automatic translaters and certainly dont want to create separate language pages.

    So has anyone done this, what have they used or has anyone seen any methods on the internoodle.

    Thanks

    Matt

  • #2
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I can do the french translation . Where 's your translated file? You put it on this thread, I can do it.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,118
    Thanks
    80
    Thanked 4,555 Times in 4,519 Posts
    If you care, the properties file methodology is what ASP.NET uses. It's built-in to the ASP.NET framework, so it's pretty easy to use.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •