Editing Talk:Languages
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
=Language codes | =Language letter codes= | ||
Languages can be selected on [[XMB]] {{icon category settings}} column, and are managed by '''strviewer_plugin.sprx''' and his associated '''strviewer_plugin.rco''' | |||
{{ | |||
By looking at the [[RCOXML_Structure | 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 | |||
By looking at the [[ | |||
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"''' | 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"''' | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<Page name="page_strviewer_lang" unknownInt0="0x1110000" onInit="event:native:/OnInitStrViewerLang" onCancel="event:native:/OnCancelStrViewerLang" onContextMenu="nothing" onActivate="nothing"> | <RcoFile UMDFlag="0" rcomageXmlVer="1.1" type="ps3" minFirmwareVer="unknownId0x130"> | ||
<MainTree name="strviewer"> | |||
<TextTree> | |||
... <!-- identifyers of the other language xml's not interesting for wiki --> | |||
</TextTree> | |||
<ObjectTree> | |||
<Page name="page_strviewer_lang" unknownInt0="0x1110000" onInit="event:native:/OnInitStrViewerLang" onCancel="event:native:/OnCancelStrViewerLang" onContextMenu="nothing" onActivate="nothing"> | |||
<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_ja" name="menu_item_ja" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_en" text="text:lang_en" 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_fr" text="text:lang_fr" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_es" text="text:lang_es" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_de" text="text:lang_de" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_it" text="text:lang_it" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_nl" text="text:lang_nl" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_pt" text="text:lang_pt" 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_ru" text="text:lang_ru" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_pl" text="text:lang_pl" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_fi" text="text:lang_fi" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_da" text="text:lang_da" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_no" text="text:lang_no" altText="nothing" unknownRef4="nothing"></MItem> | |||
<MItem name="menu_item_sv" text="text:lang_sv" altText="nothing" unknownRef4="nothing"></MItem> | |||
</Page> | <MItem name="menu_item_tr" text="text:lang_tr" altText="nothing" unknownRef4="nothing"></MItem> | ||
<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>}} | ||
Note the languages that appears in the list has a weird order (not chronologicall, not alphabeticall), 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, the xml for english contains this list: | |||
Note are the same names used in the RCOXML, but | Note are the same names used in the RCOXML, but this ones are ordered chronologically | ||
{{Boxcode| | {{Boxcode|content=<syntaxhighlight lang="xml"> | ||
<TextLang> | <TextLang> | ||
<Text name="lang_ja">Japanese</Text> | <Text name="lang_ja">Japanese</Text> | ||
Line 123: | Line 73: | ||
</TextLang> | </TextLang> | ||
</syntaxhighlight>}} | </syntaxhighlight>}} | ||