Talk:Languages

From PS3 Developer wiki
Jump to navigation Jump to search

Language codes (inside sysconf_plugin.rco)

Inside RCOXML

Code Sample

Inside Texts.xml's

This text strings are exactly the same for for all the languages (because are localised)

Code Sample

Language codes (inside strviewer_plugin)

Languages can be seen in strviewer_plugin.sprx and his associated strviewer_plugin.rco

By looking at the RCOXML inside strviewer_plugin.rco (in the name="page_strviewer_lang" page under the ObjectTree list) it can be seen the firmware internal identifyers for the languages

As an example... for korean, the item responsible to make appear the korean language as an option in setting column is name="menu_item_ko" and the text string associated is text="text:lang_ko"

Code Sample

The languages that appears in the list has a weird order (not chronological, not alphabetical), so is better to look at the list of languages that appears in every one of the xml's associated with an specific language, as example in firmware 4.70 all the xml's for all languages contains this list (exactly the same content in all them):

Note are the same names used in the RCOXML, but here are ordered chronologically

Code Sample

Language codes (inside explore_plugin.sprx)

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

0026E500  6A 61 00 00 00 00 00 00 65 6E 00 00 00 00 00 00  ja......en......
0026E510  66 72 00 00 00 00 00 00 65 73 00 00 00 00 00 00  fr......es......
0026E520  64 65 00 00 00 00 00 00 69 74 00 00 00 00 00 00  de......it......
0026E530  6E 6C 00 00 00 00 00 00 70 74 00 00 00 00 00 00  nl......pt......
0026E540  72 75 00 00 00 00 00 00 6B 6F 00 00 00 00 00 00  ru......ko......
0026E550  63 68 00 00 00 00 00 00 7A 68 00 00 00 00 00 00  ch......zh......
0026E560  66 69 00 00 00 00 00 00 73 76 00 00 00 00 00 00  fi......sv......
0026E570  64 61 00 00 00 00 00 00 6E 6F 00 00 00 00 00 00  da......no......
0026E580  70 6C 00 00 00 00 00 00 67 62 00 00 00 00 00 00  pl......gb......
0026E590  62 72 00 00 00 00 00 00 74 72 00 00 00 00 00 00  br......tr......
0026E5A0  75 73 00 00 00 00 00 00 63 61 00 00 00 00 00 00  us......ca......
0026E5B0  61 75 00 00 00 00 00 00 68 6B 00 00 00 00 00 00  au......hk......
0026E5C0  74 77 00 00 00 00 00 00 73 67 00 00 00 00 00 00  tw......sg......
0026E5D0  6B 72 00 00 00 00 00 00 6A 70 00 00 00 00 00 00  kr......jp......
0026E5E0  62 67 00 00 00 00 00 00 6D 78 00 00 00 00 00 00  bg......mx......
0026E5F0  61 72 00 00 00 00 00 00 73 65 00 00 00 00 00 00  ar......se......
0026E600  64 6B 00 00 00 00 00 00 00 00 00 00 00 00 00 00  dk..............

Language codes (inside webcoreapp.bin)

This list of language codes is stored inside webcoreapp.bin as a single text string where every language is separated by a standard space character (0x20), for better overview in wiki this 0x20 characters has been replaced by a linefeed

The number assigned to every language seems to be an identifyer used by silk web browser, the other strings and files inside webcoreapp.bin also uses this kind of identifyers

en=0
ja=33870
de=33880
es=33890
fr=33900
it=33910
nl=33920
pt=33930
ru=33940
ko=33950
zh-tw=33960
zh-cn=33970
fi=33980
sv=33990
da=34000
no=34010
pl=34020
en-uk=34030
pt-br=34040
tr=34050

Language codes in PS2

http://ichiba.geocities.jp/ysai187/PS2/LanguageSupport.htm