维多利亚2
ParaWikis
502 Bad Gateway
502 Bad Gateway
openresty
最近更改
随机页面
加入QQ群
工具
链入页面
相关更改
特殊页面
页面信息
页面值
帮助
译名手册
字词转换
编辑指南
编辑规范
练手沙盒
资助我们
资助我们
×
欢迎访问维多利亚2百科!
注册一个账号
,一起参与编写吧!这里是
当前的工程
。
全站已采用新UI,任何使用上的问题请点击
这里
。欢迎所有对百科感兴趣的同学加入QQ群:
497888338
。
阅读
查看源代码
查看历史
讨论
查看“Localisation”的源代码
←
Localisation
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{version|Heart of Darkness}} {{Under construction}} '''Localisation''' is an important part of Victoria 2's modding system. It connects the variable 'keys' used in the game's internal code and external scripting system with readable text, and also allows translation into multiple languages. == Basics == A localisation looks like this (only English, French and German are officially supported and only the default English localisation is generally correct): <pre>key;English;French;German;Polish;Spanish;Italian;Swedish;Czech;Hungarian;Dutch;Portugese;Russian;Finnish;</pre> For example, this is the localisation for the single player button in the main menu: <pre>FE_SINGLE_PLAYER;Single Player;Solo;Einzelspieler;Gra pojedyncza;Un jugador;Giocatore singolo;Egyjátékos mód;Hra pro jednoho hráèe;;;;;;x;;;;</pre> [[Category:Modding]] Some [[List_of_effects|commands]] in Paradox Script create localisation keys. == Event localisation == Events are localised through these three script commands: <code>title</code>, <code>desc</code>, <code>name</code> (the latter in an <code>option</code> code block.<br /> The commands assign keys like this: <code>command = "key"</code>. The quotatation marks are optional, but it is standard practice to include them.<br /> The subtitles of election events are localised by adding <code>_sub</code> to the event's <code>title</code> key. == Decision localisation == Decisions are automatically localised using the name of the decision as defined through the script with the extensions <code>_title</code> and <code>_desc</code>. [[Category:Modding]]
本页使用的模板:
Template:Ambox
(
查看源代码
)
Template:Ambox/core
(
查看源代码
)
Template:Under construction
(
查看源代码
)
Template:Version
(
查看源代码
)
返回
Localisation
。
×
登录
密码
记住登录
加入维多利亚2百科
忘记密码?
其他方式登录