Talk:Languages: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
(Language letter codes (inside sysconf_plugin.rco))
Line 1: Line 1:


=Language letter codes=
=Language letter codes (inside sysconf_plugin.rco)=
Inside RCOXML
{{Boxcode|content=<syntaxhighlight lang="xml">
<Page name="page_console_system_lang" unknownInt0="0x1110000" onInit="nothing" onCancel="event:native:/OnCancelConsoleConfig" onContextMenu="nothing" onActivate="event:native:/OnActivatePageConsole">
<Plane name="plane_console_system_lang" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" depth="0" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x10000" onLoad="nothing" unknown17="0x0" unknown18="0x0" unknown19="0x0" unknownInt20="0x0" unknownInt21="0x0" unknown22="0x0" image="nothing" displayMode="0x0">
<Plane name="plane_console_system_lang_BG0" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" depth="0" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x10000" onLoad="nothing" unknown17="0x100" unknown18="0x100" unknown19="0x100" unknownInt20="0x0" unknownInt21="0x0" unknown22="0x0" image="nothing" displayMode="0x0"></Plane>
<Plane name="plane_console_system_lang_BG1" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" depth="0" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x10000" onLoad="nothing" unknown17="0x100" unknown18="0x100" unknown19="0x100" unknownInt20="0x0" unknownInt21="0x0" unknown22="0x0" image="nothing" displayMode="0x0"></Plane>
<MList name="plane_console_system_lang_LowerMenu" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="0" height="0" depth="0" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x10000" onLoad="event:native:/OnInitMlistConsoleConfig" unknown17="0x100" unknown18="0x100" unknown19="0x100" unknownInt20="0x36a" unknownInt21="0x36b" unknown22="0x0" unknown23="0x15000000" unknown24="0x0" unknown25="0xffffffff" unknown26="0x0" unknown27="0x0" unknown28="0x0" unknown29="0x7f030000" unknown30="0x80030000" unknownRef32="nothing" unknownRef33="event:native:/OnPushMlistConsoleConfig" unknownRef35="nothing" unknownRef37="nothing" unknownRef39="nothing" unknownRef41="nothing" unknownRef43="nothing" unknownRef45="nothing" unknownRef47="nothing" unknownRef49="event:native:/OnScrollInMlistConsoleConfig" unknownRef51="nothing">
<MItem name="item_console_system_lang_dk" text="text:msg_console_lang_dk" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_de" text="text:msg_console_lang_de" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_en_uk" text="text:msg_console_lang_en_uk" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_en_us" text="text:msg_console_lang_en_us" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_es" text="text:msg_console_lang_es" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_fr" text="text:msg_console_lang_fr" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_it" text="text:msg_console_lang_it" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_nl" text="text:msg_console_lang_nl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_no" text="text:msg_console_lang_no" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_pl" text="text:msg_console_lang_pl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_pt_br" text="text:msg_console_lang_pt_br" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_pt_pt" text="text:msg_console_lang_pt_pt" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_ru" text="text:msg_console_lang_ru" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_fi" text="text:msg_console_lang_fi" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_se" text="text:msg_console_lang_se" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_tr" text="text:msg_console_lang_tr" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_jp" text="text:msg_console_lang_japanese" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_kr" text="text:msg_console_lang_kr" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_cn_s" text="text:msg_console_lang_cn_s" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="item_console_system_lang_cn_t" text="text:msg_console_lang_cn_t" altText="nothing" unknownRef4="nothing"></MItem>
</MList>
</Plane>
</Page>
</syntaxhighlight>}}
Inside Texts.xml's
 
This text strings are exactly the same for for all the languages (because are localised)
{{Boxcode|content=<syntaxhighlight lang="xml">
<TextLang>
<Text name="msg_console_lang_japanese">日本語</Text>
<Text name="msg_console_lang_en_us">English (United States)</Text>
<Text name="msg_console_lang_en_uk">English (United Kingdom)</Text>
<Text name="msg_console_lang_fr">Français</Text>
<Text name="msg_console_lang_es">Español</Text>
<Text name="msg_console_lang_de">Deutsch</Text>
<Text name="msg_console_lang_it">Italiano</Text>
<Text name="msg_console_lang_nl">Nederlands</Text>
<Text name="msg_console_lang_pt_pt">Português (Portugal)</Text>
<Text name="msg_console_lang_pt_br">Português (Brasil)</Text>
<Text name="msg_console_lang_ru">Русский</Text>
<Text name="msg_console_lang_pl">Polski</Text>
<Text name="msg_console_lang_fi">Suomi</Text>
<Text name="msg_console_lang_dk">Dansk</Text>
<Text name="msg_console_lang_no">Norsk</Text>
<Text name="msg_console_lang_se">Svenska</Text>
<Text name="msg_console_lang_tr">Türkçe</Text>
<Text name="msg_console_lang_kr">한국어</Text>
<Text name="msg_console_lang_cn_s">简体中文</Text>
<Text name="msg_console_lang_cn_t">繁體中文</Text>
</TextLang>
</syntaxhighlight>}}
 
=Language letter codes (inside strviewer_plugin)=
Languages can be seen in '''strviewer_plugin.sprx''' and his associated '''strviewer_plugin.rco'''
Languages can be seen in '''strviewer_plugin.sprx''' and his associated '''strviewer_plugin.rco'''



Revision as of 13:17, 24 March 2015

Language letter 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 letter 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