Talk:Languages: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
mNo edit summary
m (with the page is enought for an example)
Line 8: Line 8:


{{Boxcode|content=<syntaxhighlight lang="xml">
{{Boxcode|content=<syntaxhighlight lang="xml">
<RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130">
<Page name="page_strviewer_lang" unknownInt0="0x1110000" onInit="event:native:/OnInitStrViewerLang" onCancel="event:native:/OnCancelStrViewerLang" onContextMenu="nothing" onActivate="nothing">
<MainTree name="strviewer">
<MList name="mlist_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" unknown23="0x9000000" unknown24="0x0" unknown25="0xffffffff" unknown26="0x0" unknown27="0x0" unknown28="0x0" unknown29="0x0" unknown30="0x0" unknownRef32="nothing" unknownRef33="event:native:/OnPushMlistLang" unknownRef35="nothing" unknownRef37="nothing" unknownRef39="nothing" unknownRef41="nothing" unknownRef43="nothing" unknownRef45="nothing" unknownRef47="nothing" unknownRef49="event:native:/OnScrollInMlistLang" unknownRef51="nothing">
<TextTree>
<MItem name="menu_item_ja" name="menu_item_ja" altText="nothing" unknownRef4="nothing"></MItem>
... <!-- identifyers of the other language xml's not interesting for wiki -->
<MItem name="menu_item_en" text="text:lang_en" altText="nothing" unknownRef4="nothing"></MItem>
</TextTree>
<MItem name="menu_item_en_gb" text="text:lang_en_gb" altText="nothing" unknownRef4="nothing"></MItem>
<ObjectTree>
<MItem name="menu_item_fr" text="text:lang_fr" altText="nothing" unknownRef4="nothing"></MItem>
<Page name="page_strviewer_lang" unknownInt0="0x1110000" onInit="event:native:/OnInitStrViewerLang" onCancel="event:native:/OnCancelStrViewerLang" onContextMenu="nothing" onActivate="nothing">
<MItem name="menu_item_es" text="text:lang_es" altText="nothing" unknownRef4="nothing"></MItem>
<MList name="mlist_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" unknown23="0x9000000" unknown24="0x0" unknown25="0xffffffff" unknown26="0x0" unknown27="0x0" unknown28="0x0" unknown29="0x0" unknown30="0x0" unknownRef32="nothing" unknownRef33="event:native:/OnPushMlistLang" unknownRef35="nothing" unknownRef37="nothing" unknownRef39="nothing" unknownRef41="nothing" unknownRef43="nothing" unknownRef45="nothing" unknownRef47="nothing" unknownRef49="event:native:/OnScrollInMlistLang" unknownRef51="nothing">
<MItem name="menu_item_de" text="text:lang_de" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_ja" name="menu_item_ja" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_it" text="text:lang_it" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_en" text="text:lang_en" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_nl" text="text:lang_nl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_en_gb" text="text:lang_en_gb" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pt" text="text:lang_pt" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_fr" text="text:lang_fr" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pt_br" text="text:lang_pt_br" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_es" text="text:lang_es" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_ru" text="text:lang_ru" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_de" text="text:lang_de" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pl" text="text:lang_pl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_it" text="text:lang_it" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_fi" text="text:lang_fi" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_nl" text="text:lang_nl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_da" text="text:lang_da" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pt" text="text:lang_pt" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_no" text="text:lang_no" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pt_br" text="text:lang_pt_br" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_sv" text="text:lang_sv" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_ru" text="text:lang_ru" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_tr" text="text:lang_tr" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_pl" text="text:lang_pl" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_ko" text="text:lang_ko" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_fi" text="text:lang_fi" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_zh_s" text="text:lang_zh_s" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_da" text="text:lang_da" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_zh_t" text="text:lang_zh_t" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_no" text="text:lang_no" altText="nothing" unknownRef4="nothing"></MItem>
<Scroll name="scroll_lang" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="8" height="172" depth="1" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x0" onLoad="nothing" unknown17="0x0" unknown18="0x0" unknown19="0x0" unknownInt20="0x0" unknownInt21="0x0" unknown22="0x0" unknownFloat23="100" unknownFloat24="100" unknown25="0x0" unknownRef26="nothing" unknownRef28="nothing" unknownRef30="nothing" unknownRef32="nothing" unknownRef34="nothing"></Scroll>
<MItem name="menu_item_sv" text="text:lang_sv" altText="nothing" unknownRef4="nothing"></MItem>
</MList>
<MItem name="menu_item_tr" text="text:lang_tr" altText="nothing" unknownRef4="nothing"></MItem>
</Page>
<MItem name="menu_item_ko" text="text:lang_ko" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_zh_s" text="text:lang_zh_s" altText="nothing" unknownRef4="nothing"></MItem>
<MItem name="menu_item_zh_t" text="text:lang_zh_t" altText="nothing" unknownRef4="nothing"></MItem>
<Scroll name="scroll_lang" posX="0" posY="0" posZ="0" redScale="1" greenScale="1" blueScale="1" alphaScale="1" width="8" height="172" depth="1" scaleWidth="1" scaleHeight="1" scaleDepth="1" iconOffset="0x0" onLoad="nothing" unknown17="0x0" unknown18="0x0" unknown19="0x0" unknownInt20="0x0" unknownInt21="0x0" unknown22="0x0" unknownFloat23="100" unknownFloat24="100" unknown25="0x0" unknownRef26="nothing" unknownRef28="nothing" unknownRef30="nothing" unknownRef32="nothing" unknownRef34="nothing"></Scroll>
</MList>
</Page>
... <!-- other pages not interesting for wiki -->
</ObjectTree>
</MainTree>
</RcoFile>
</syntaxhighlight>}}
</syntaxhighlight>}}



Revision as of 22:35, 23 March 2015

Language letter codes

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 this ones are ordered chronologically

Code Sample