1

Topic: Website translations

Howdy,

The faldonrpg.com/encyclopedia site is getting pretty near to done far as I can see, and I've added support for translation. and autodetection based on the browser-requested language. If anyone is interested in translating part or all of the encyclopedia and/or site into their language, have a look at

http://www.faldonrpg.com/language.txt

Just translate the sections or lines you want.

Thanks!

Edit: Made the sample language.txt more complete.

Last edited by James (March 7th, 2010 3:02 PM)

2

Re: Website translations

<?php $lang = array(
  'Latest News' => 'Nyheder',
  'Monsters' => 'Monsters',
  'Items' => 'Genstande',
  'Skills' => 'Skills',
  'Third Party Software' => 'Tredje persons software', // just as an example: Link category names can be localized as well (play guide categories as well because they share code)
  'Resist %s' => 'Resist %s',
  'Dropped by' => 'Tabt af',
  'Show Progression' => 'Vis Progression',
  'Account Name' => 'Account Navn',
  'Unknown username or bad password.' => 'Ukendt brugernavn eller forkert password. ',
  "Who's Online?" => "Hvem er Online?"
); ?>




Danish language

Edit: test is removed and objects has been changed to items

Last edited by Judy (March 9th, 2010 6:38 AM)

3

Re: Website translations

We renamed Objects to Items on the actual site (forgot to update language.txt). Could you change that?
Also, 'test' is just something added to demonstrate. Thanks smile

4

Re: Website translations

done

5

Re: Website translations

Ok. I've put that in. Does the autodetection work for you?
If you want, I've added more possible texts to language.txt. It's possible to make a nearly complete conversion (aside from the graphical buttons, of course).

6

Re: Website translations

I've updated dutch.txt with the new list, you know where it is =p

7

Re: Website translations

Not for the main website buttons, but definitely when we get to more obscure text (like in-game guild screen) that'll be the thing to do.

I've put up your changes, Spy.
By the way, I've added the graphical buttons to language.txt. Could you translate those for Wu?
Then the site will look completely translated smile

8

Re: Website translations

Uploaded translations for buttons too.
Will you be adding things like the text above the download button too? I mean, with a placeholder of sorts, don't use that as a key =p

Last edited by Mr Spy (March 9th, 2010 5:20 PM)

9

Re: Website translations

<?php $lang = array(
  // The left side is the English, the right side is your language.
  // No need to translate all entries -- just translate the ones
  //  you want. Even some will be enough. Thanks!
  // There are in fact more than on this list. Feel free to add any
  //  text from the site - it will convert it.
  // Translation goes in the '?' part. // are comments, don't translate those smile

  /// these are for Wu (rendered text, leave commented)
  /// 'News' => 'Nyheder',
  /// 'Encyclopedia' => 'Encyclopedia',
  /// 'Account' => 'Account',
  /// 'Community' => 'Fællesskab',
  /// 'Support' => 'Hjælp',
  /// 'Play Now!' => 'Spil nu!',
  /// 'Download' => 'Download',
  /// 'Screenshots' => 'Screenshot',
  /// 'Premium Account' => 'Preminum Account',

  // menus on the left
  'Welcome' => 'Velkommen',
  'Latest News' => 'Nyeste nyheder',
  'Items' => 'Objekter',
  'Monsters' => 'Monsters',
  'Skills' => 'Skills',
  'Spells' => 'Magier og besværgelser',
  'Play Guides' => 'Spil Guides',
  'Manage' => 'Håndtere',
  'Create Account' => 'Opret Account',
  'Lost Account?' => 'Glemt account?',
  'Lost Password?' => 'Glemt password?',
  'Login' => 'Log ind',
  'Logout' => 'Log ud',
  'Forums' => 'Forums',
  'Screenshots' => 'Screenshots',
  'Top 50 Ladder' => 'Top 50 rangliste',
  "Who's Online?" => 'Hvem er online',
  'Links' => 'Links',
  'Download Faldon' => 'Download Faldon',
  'FAQs' => 'FAQs',
  'Get Help' => 'Hjælp',

  // encyclopedia
  'View' => 'Find', // see Items or Spells
 
  // encyclopedia - item types
  'All' => 'Alle',
  'Weapons' => 'Våben',
  'Rings' => 'Ringe',
  'Shields' => 'Skjolde',
  'Head Armor' => 'Hjelm',
  'Body Armor' => 'Rustning',
  'Gauntlets' => 'Handsker',
  'Boots' => 'Sko',
  'Potions' => 'Potions',

  // encyclopedia - items
  'Information' => 'Information',
  'Armor' => 'Rustning',
  'Attack Time' => 'Angrebs hastighed',
  'Damage' => 'Damage',
  'Durability' => 'Holdbarhed',
  'Resist %s' => 'Resist %s',
  'Dropped by' => 'Tabt af',
  'Requirements' => 'Nødvendigheder',
  'Modifiers' => 'Tillæg',
  'Creatable with' => 'Kan skabes med',
  'Two-Handed' => 'Two-Handed',
  'Indestructible' => 'Uødelæggeligt',
 
  // encyclopedia - monsters
  'Health' => 'Health',
  'Mana' => 'Mana',
  'Experience' => 'Experience',
  'Resistances' => 'Resistance',
  'Immune' => 'Immun',
  'Inventory' => 'Inventory',
  'Item' => 'Genstand',
  'Chance' => 'Chance',
  'Spellbook' => 'Magi bog',
  'Spell' => 'Magi',
  'Taming' => 'Tæmning',
  'Skill' => 'Skill',
  'Eats' => 'Spiser',
  'Psi' => 'Psi',
 
  // encyclopedia - skills
  'Show Progression' => 'Vis Progression',
 
  // encyclopedia - skills - creation
  'Products' => 'Produkter',
  'Product' => 'Produkt',
  'Requirement' => 'Nødvendigt',
 
  // encyclopedia - skills - taming
  'Monster' => 'Monster',
 
  // encyclopedia - spells
  'Price' => 'Pris',
  'Casters' => 'Casters',
 
  // Play Guide categories
  'Tutorials' => 'Guides',
  'Strategy' => 'Strategi',
  'Walkthroughs' => 'Hjælpe guides',
 
  // Links categories
  'Third Party Software' => 'Trejde persons software',
  'Guilds' => 'Guilds',
 
  // screenshots
  'Previous' => 'Tidligere',
  'Next' => 'Næste',
 
  // login fields and error messages
  'Account Name' => 'Account Navn',
  'Password' => 'Kodeord',
  'Please log in.' => 'Please log ind', // text above the login
  'Login to Account' => 'Log ind på Account', // the button
  'Lost password?' => 'Glemt kodeord?', // the link next to the button
  'Account name?' => 'Account navn', //  the link next to that (as in, 'Lost your account name?')
  'Unknown username or bad password.' => 'Ukendt brugernavn eller forkert kodeord',
 
  // create account fields and error messages
  'Confirm Password' => 'Bekræft Kodeord',
  'E-mail Address' => 'E-mail Adresse',
  'Please enter your desired login info.' => 'Indsæt det ønskede log ind info', // text above the button
  'Create Account' => 'Skab Account', // the button
  'E-mail address must be valid.' => 'E-mail adressen skal være ægte.',
  'E-mail address must have a valid domain.' => 'E-mail adresse skal have en ægte domæne',
  'Please choose a harder-to-guess password.' => 'Vælg et sværere kodeord',
  'Password and confirmation must match.' => 'Kodeord og bekræft skal matche',
  'That account name is taken.' => 'Dette Account navn er allerede i brug',
 
  // lost account? fields and error messages
  'Please enter the e-mail address you registered with.' => 'Indæt e-mail adressen du er registreret med', // text above the button
  'Send Account Names' => 'Send Account navn', // the button
 
  // lost password? fields and error messages
  'Please enter the account name you registered with.' => 'Indsæt det Account navn du har registreret med', // text above the button
  'Send E-mail' => 'Send E-mail', // the button
 
  // captcha text and error messages
  "What's the word on the right?" => 'What's the word on the right?',
  'Try again.' => 'Prøv igen',
 
  // Who's Online?
  'Server' => 'Server',
  'Guild' => 'Guild',
  'Level' => 'Level',
); ?>


the auto detection works fine for me, cant wait til this is added, going to make faldon alot more friendly for the skandinaviens ;p
i translated all the words cept the last one bout errors *whats the word on the right?* im not sure when u get this error n what u mean by it so i left it

10

Re: Website translations

Judy wrote:

i translated all the words cept the last one bout errors *whats the word on the right?* im not sure when u get this error n what u mean by it so i left it

When you create an account you need to enter like a captcha code, that text will be left of that image.

11

Re: Website translations

Mr Spy wrote:

When you create an account you need to enter like a captcha code, that text will be left of that image.

ah ok well in that case heres the last line:

"What's the word on the right?" => 'Gengiv bogtaverne til højre',

12

Re: Website translations

Judy, tell alumet to un ban me, i do nothing wrong.

13

Re: Website translations

Hmm. I just noticed we have two entries for 'Create Account'.
Do the button and menu usages differ appreciably for either of you (Spy or Judy)?

14

Re: Website translations

Hmm. What do you folks think about stats (Strength, Defense...), resists (Lighting, Poison..), etc.? I've avoided translation support for these on the basis that if people need to talk to eachother in, say, English, they need to know what things are called. However, that does mean no translation. Thoughts?

15

Re: Website translations

<?php $lang = array(
  // The left side is the English, the right side is your language.
  // No need to translate all entries -- just translate the ones
  //  you want. Even some will be enough. Thanks!
  // There are in fact more than on this list. Feel free to add any
  //  text from the site - it will convert it.
  // Translation goes in the '?' part. // are comments, don't translate those smile

  /// these are for Wu (rendered text, leave commented)
  /// 'News' => '????',
  /// 'Encyclopedia' => '????',
  /// 'Account' => '??',
  /// 'Community' => '????',
  /// 'Support' => '??',
  /// 'Play Now!' => '??Faldon!',
  /// 'Download' => '??',
  /// 'Screenshots' => '????',
  /// 'Premium Account' => '????',

  // menus on the left
  'Welcome' => '??',
  'Latest News' => '????',
  'Items' => '??',
  'Monsters' => '??',
  'Skills' => '??',
  'Spells' => '??',
  'Play Guides' => '????',
  'Manage' => '??',
  'Create Account' => '?????',
  'Lost Account?' => '???????',
  'Lost Password?' => '?????',
  'Login' => '??',
  'Logout' => '??',
  'Forums' => '???',
  'Screenshots' => '????',
  'Top 50 Ladder' => '???',
  "Who's Online?" => '?????',
  'Links' => '??',
  'Download Faldon' => '?? Faldon',
  'FAQs' => 'FAQs',
  'Get Help' => '????',

  // encyclopedia
  'View' => '??', // see Items or Spells
 
  // encyclopedia - item types
  'All' => '????',
  'Weapons' => '??',
  'Rings' => '??',
  'Shields' => '?',
  'Head Armor' => '??',
  'Body Armor' => '??',
  'Gauntlets' => '??',
  'Boots' => '?',
  'Potions' => '??',

  // encyclopedia - items
  'Information' => '??',
  'Armor' => '???',
  'Attack Time' => '????',
  'Damage' => '???',
  'Durability' => '???',
  'Resist %s' => '?? %',
  'Dropped by' => '??????',
  'Requirements' => '??',
  'Modifiers' => '?????',
  'Creatable with' => '????????',
  'Two-Handed' => '??',
  'Indestructible' => '????',
 
  // encyclopedia - monsters
  'Health' => '??',
  'Mana' => '??',
  'Experience' => '???',
  'Resistances' => '??',
  'Immune' => '??',
  'Inventory' => '??',
  'Item' => '??',
  'Chance' => '??',
  'Spellbook' => '??',
  'Spell' => '??',
  'Taming' => '??',
  'Skill' => '??',
  'Eats' => '?????',
  'Psi' => '?',
 
  // encyclopedia - skills
  'Show Progression' => '??????',
 
  // encyclopedia - skills - creation
  'Products' => '??',
  'Product' => '??',
  'Requirement' => '??',
 
  // encyclopedia - skills - taming
  'Monster' => '??',
 
  // encyclopedia - spells
  'Price' => '??',
  'Casters' => '???',
 
  // Play Guide categories
  'Tutorials' => '??',
  'Strategy' => '??',
  'Walkthroughs' => '?',
 
  // Links categories
  'Third Party Software' => '?',
  'Guilds' => '??',
 
  // screenshots
  'Previous' => '???',
  'Next' => '???',
 
  // login fields and error messages
  'Account Name' => '????',
  'Password' => '??',
  'Please log in.' => '???', // text above the login
  'Login to Account' => '????', // the button
  'Lost password?' => '????', // the link next to the button
  'Account name?' => '????', //  the link next to that (as in, 'Lost your account name?')
  'Unknown username or bad password.' => '????????????',
 
  // create account fields and error messages
  'Confirm Password' => '????',
  'E-mail Address' => '????',
  'Please enter your desired login info.' => '???????', // text above the button
  'Create Account' => '????', // the button
  'E-mail address must be valid.' => '??????',
  'E-mail address must have a valid domain.' => '????????',
  'Please choose a harder-to-guess password.' => '??????????',
  'Password and confirmation must match.' => '?????????',
  'That account name is taken.' => '????????',
 
  // lost account? fields and error messages
  'Please enter the e-mail address you registered with.' => '???????????', // text above the button
  'Send Account Names' => '??', // the button
 
  // lost password? fields and error messages
  'Please enter the account name you registered with.' => ''????????', // text above the button
  'Send E-mail' => '??', // the button
 
  // captcha text and error messages
  "What's the word on the right?" => '???????????',
  'Try again.' => '????',
 
  // Who's Online?
  'Server' => '???',
  'Guild' => '??',
  'Level' => '??',
); ?>







I am done with the Chinese Translation

16

Re: Website translations

Chinese words arent appear....
should i mail this translation to you?

17

Re: Website translations

its hilarious how zer completely ignores me but still posts here

7.4.

18

Re: Website translations

P Lung wrote:

Chinese words arent appear....
should i mail this translation to you?

Actually no. Instead, let's fix the forum smile
Be back in a bit..

19

Re: Website translations

JuZa wrote:

its hilarious how zer completely ignores me but still posts here

If this is the case Wu informed me about, what would you have me do?
Someone else already had your account name and password  (so it was largely compromised anyway), and you didn't have a working e-mail address. I'm not sure what I can do about that. Certainly there are things we can do if we know it is in fact your account (and that for example, you didn't sell it). If I remember right a GM assured me that was the case, so you may get it back once I've moved the server over assuming there isn't anything else. Then again, why did they have your account name and password anyway? Was this an earlier owner of the account?

20

Re: Website translations

I had tried to have you change my email over for a long time, but you dont look at your tickets.
I allowed somebody on my account before, i had no clue of the new website so that took the account from right under me, and i can prove it because i remember when beta started i had to talk to you through MSN just to get my account pword because not only did i not know my email account by the time i got to play the beta; but you still wouldnt change it hmm (you probably dont remember), ive also paid for my account C time with my current email address through pay pal as well as resets for my account, I am the ORIGINAL owner of the account who has played on and off since the beta, if aaron is still nearby he can confirm who I am, as well as Mr Spy (Rick), Julie; hell I've even talked to Coma from my current email address when he was still around awhile back; if i'd have known that your site had existed; id have beaten fort minor to it
I dont want the items back as i've said, i just dont see why stuff like this has continuously been allowed to happen with no consenquences, from last clients characters being stolen to wu and coma's emails being taken and massively producing items in this client, there hasnt been much punishment for things that would normally in games, especially for a person who has been playing your game as long as i have.

7.4.

21

Re: Website translations

P Lung: Try now. I think it should work.

22

Re: Website translations

<?php $lang = array(
  // The left side is the English, the right side is your language.
  // No need to translate all entries -- just translate the ones
  //  you want. Even some will be enough. Thanks!
  // There are in fact more than on this list. Feel free to add any
  //  text from the site - it will convert it.
  // Translation goes in the '?' part. // are comments, don't translate those smile

  /// these are for Wu (rendered text, leave commented)
  /// 'News' => '最新消息',
  /// 'Encyclopedia' => '百科全書',
  /// 'Account' => '帳戶',
  /// 'Community' => '玩家社群',
  /// 'Support' => '支援',
  /// 'Play Now!' => '加入Faldon!',
  /// 'Download' => '下載',
  /// 'Screenshots' => '遊戲圖片',
  /// 'Premium Account' => '付費會員',

  // menus on the left
  'Welcome' => '歡迎',
  'Latest News' => '最新消息',
  'Items' => '物品',
  'Monsters' => '怪物',
  'Skills' => '技能',
  'Spells' => '魔法',
  'Play Guides' => '遊玩指南',
  'Manage' => '管理',
  'Create Account' => '創造新帳戶',
  'Lost Account?' => '忘記帳戶名稱?',
  'Lost Password?' => '忘記密碼?',
  'Login' => '登入',
  'Logout' => '登出',
  'Forums' => '討論區',
  'Screenshots' => '遊戲圖片',
  'Top 50 Ladder' => '排行榜',
  "Who's Online?" => '誰在上線?',
  'Links' => '連結',
  'Download Faldon' => '下載 Faldon',
  'FAQs' => 'FAQs',
  'Get Help' => '我有疑難',

  // encyclopedia
  'View' => '查看', // see Items or Spells
 
  // encyclopedia - item types
  'All' => '所有類型',
  'Weapons' => '武器',
  'Rings' => '介指',
  'Shields' => '盾',
  'Head Armor' => '頭盔',
  'Body Armor' => '盔甲',
  'Gauntlets' => '手套',
  'Boots' => '鞋',
  'Potions' => '藥品',

  // encyclopedia - items
  'Information' => '資料',
  'Armor' => '裝甲值',
  'Attack Time' => '攻擊速度',
  'Damage' => '攻擊力',
  'Durability' => '耐用值',
  'Resist %s' => '抵擋 %',
  'Dropped by' => '從哪裏得到?',
  'Requirements' => '需求',
  'Modifiers' => '屬性點改變',
  'Creatable with' => '用哪些技能創造?',
  'Two-Handed' => '雙手',
  'Indestructible' => '不會損毀',
 
  // encyclopedia - monsters
  'Health' => '血量',
  'Mana' => '法力',
  'Experience' => '經驗值',
  'Resistances' => '抵禦',
  'Immune' => '無效',
  'Inventory' => '物品',
  'Item' => '物品',
  'Chance' => '機會',
  'Spellbook' => '魔法',
  'Spell' => '魔法',
  'Taming' => '馴服',
  'Skill' => '數值',
  'Eats' => '怪物的食物',
  'Psi' => '?',
 
  // encyclopedia - skills
  'Show Progression' => '展示技能類型',
 
  // encyclopedia - skills - creation
  'Products' => '物品',
  'Product' => '物品',
  'Requirement' => '需求',
 
  // encyclopedia - skills - taming
  'Monster' => '怪物',
 
  // encyclopedia - spells
  'Price' => '價錢',
  'Casters' => '施展者',
 
  // Play Guide categories
  'Tutorials' => '教學',
  'Strategy' => '策略',
  'Walkthroughs' => '?',
 
  // Links categories
  'Third Party Software' => '?',
  'Guilds' => '公會',
 
  // screenshots
  'Previous' => '上一頁',
  'Next' => '下一頁',
 
  // login fields and error messages
  'Account Name' => '帳戶名稱',
  'Password' => '密碼',
  'Please log in.' => '請登入', // text above the login
  'Login to Account' => '登入帳戶', // the button
  'Lost password?' => '忘記密碼', // the link next to the button
  'Account name?' => '帳戶名稱', //  the link next to that (as in, 'Lost your account name?')
  'Unknown username or bad password.' => '未知的帳戶名稱或密碼錯誤',
 
  // create account fields and error messages
  'Confirm Password' => '確認密碼',
  'E-mail Address' => '電郵地址',
  'Please enter your desired login info.' => '請輸入登入資料', // text above the button
  'Create Account' => '創造帳戶', // the button
  'E-mail address must be valid.' => '電郵必須有效',
  'E-mail address must have a valid domain.' => '電郵域名必須有效',
  'Please choose a harder-to-guess password.' => '不要選用過簡單的密碼',
  'Password and confirmation must match.' => '密碼與確認必須吻合',
  'That account name is taken.' => '帳戶名稱已被使用',
 
  // lost account? fields and error messages
  'Please enter the e-mail address you registered with.' => '請輸入你帳戶的電郵地址', // text above the button
  'Send Account Names' => '傳送', // the button
 
  // lost password? fields and error messages
  'Please enter the account name you registered with.' => ''請輸入你帳戶名稱', // text above the button
  'Send E-mail' => '傳送', // the button
 
  // captcha text and error messages
  "What's the word on the right?" => '請輸入右面所顯示的字詞',
  'Try again.' => '再試一次',
 
  // Who's Online?
  'Server' => '伺服器',
  'Guild' => '公會',
  'Level' => '等級',
); ?>

23

Re: Website translations

Great! I've put it in.
What's the way to write Chinese in Chinese? (Danish is 'Dansk', Dutch is 'Nederlands')
(there is a selection option near the Copyright at the bottom of the page)

Does the autodetect work for you, by the way?

24

Re: Website translations

Hm. If Spy or Aaron can confirm it then yeah, there won't be any problem. I'll check the IP logs when we do the move over and we'll see from there. If you'd been using a similar IP for a while and someone new pops up on it and mails items out, that'll be in the logs and be good proof

25

Re: Website translations

Okay, this is very greatly appreciated, and Wu you've spoken to me way back in the day on my MSN email name, although you dont remember me; which i guess i can expect with the gap in play time in between you and I, although if you look up my player ID numbers you'll see how low mines are and realise i've been around longer than these newer characters, and according to many of the current players, i am not the only player he has stolen, so you might wanna look up the different IP that logged my character on a few accounts so you know where/who to look back to. I will contact rick and tell him to post here since i cant ever seem to get a response from aaron  hmm

7.4.