Translate Angband 3.1.0 to other language

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Nick
    replied
    Originally posted by nppangband
    I saw a thread once debating the switch from ASCII to unicode. Is that being considered?

    I almost have the extended characters from NPP working with the current Angband code base. That could be quickly and easily added (once I get all the bugs worked out).
    Yeah, I have it in FA, too.

    Takkaria wants to move to UTF-8 (which Wikipedia tells me is unicode...), but last I heard he didn't want to do the extended character stuff. I was planning to include the xchars in AngbandBase, but maybe I should look into UTF-8. The only issue is whether I finish it this lifetime.

    Leave a comment:


  • nppangband
    replied
    Originally posted by Nick
    Angband does not support accented characters at the moment; this may change before too long.
    I saw a thread once debating the switch from ASCII to unicode. Is that being considered?

    I almost have the extended characters from NPP working with the current Angband code base. That could be quickly and easily added (once I get all the bugs worked out).

    To answer the original poster's question, over the years Angband has been translated into many languages. Japanese, Russian, and Dutch are three that have been completed. I am not sure what they did about the fonts, however.

    Leave a comment:


  • Nick
    replied
    Originally posted by hernaldo
    First problem, my language has accents (for example á), but when i put in the text " it is a test á hello " y the screen I only see " it is a test hello" (white space in the "á" position)

    then, What object i have to modify for get all characteres that i need ?
    I seek in the Pref/ font-win.prf but this has not a letters.
    Angband does not support accented characters at the moment; this may change before too long.

    Leave a comment:


  • AnonymousHero
    replied
    If you do do this, please use the "gettext" library for it. It is very easy to use and hopefully your changed could be re-integrated back into vanilla Angband for all to benefit from. (NOTE: I don't have any say in this, but "gettext" is minimally disruptive to the code, so I expect it's the approach which has the greatest chance of ever making it into Vanilla. It's also probably less work for you since it can extract strings to translate automatically.)

    Basically any time you see
    Code:
           println("Hi, this is a text!");
    you change it to
    Code:
          println(_("Hi, this is a text!"));
    The way you translate then, is to provide a language-specific file with strings saying:
    Code:
        "Hi, this is a text!" gets translated to "Hej, dette er en tekst!"

    Leave a comment:


  • hernaldo
    replied
    thanks Nick!!

    First problem, my language has accents (for example á), but when i put in the text " it is a test á hello " y the screen I only see " it is a test hello" (white space in the "á" position)

    then, What object i have to modify for get all characteres that i need ?
    I seek in the Pref/ font-win.prf but this has not a letters.

    some help?

    Leave a comment:


  • Nick
    replied
    In my opinion all of those would be acceptable, and welcome.

    Leave a comment:


  • hernaldo
    started a topic Translate Angband 3.1.0 to other language

    Translate Angband 3.1.0 to other language

    Hi people,
    I have some doubts about to translate the game to other language:

    1.- Can I translate Angband to other language? (I compile the source code)

    2.- If I finish my tranlation, can i put my nick in the welcome title on load the game?

    3.- Can I generate mi own Blog page with the status and other information about the translation? or Am I required to post in this forum? or Both?

    4.- What would my product license translated? GPL?

    thank and goodbye
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎