小 (咯咯炀移动页面Localization至本地化) |
无编辑摘要 |
||
第1行: | 第1行: | ||
{{version|1.1}} | {{version|1.1}}{{需要翻译}} | ||
{{Expand}} | {{Expand}} | ||
Localization files can be found in the localization folder. | Localization files can be found in the localization folder. |
2020年11月16日 (一) 18:26的版本
此页面正在翻译中
此页面尚未完成
,请简要说明需要补充的内容以方便他人完善
Localization files can be found in the localization folder.
Unlike most other files, they localization files have .yml extension.
All files names should look like this: <something>_l_<language>.yml
The file format is UTF-8 with BOM.
Text formatting: #<formatting code> <text> #! (e.g. #P +15%#! )
Insert other localization keys: $<other key>$ (e.g. $special_contract_march_short$ )
Example:
l_english: innovation_motte:0 "Mottes" innovation_motte_desc:0 "Simple yet effective, building our castles on raised earthen mounds is the best way to ensure we quite literally have the high ground over our enemies." unlock_tribal_economic_buildings:0 "Unlocks all Tribal Era [economic_buildings|E]" unlock_tribal_military_buildings:0 "Unlocks all Tribal Era [military_buildings|E]" unlock_march_contract:0 "Unlocks the #high $special_contract_march_short$#! [feudal_contract|E]"
Commands
Commands are used in instances where localisation must be dynamic and change based on certain conditions. Invoking a command will print out a specific string of text.
Gender
These commands will show text that vary based on the gender of the character in scope.
Command |
---|
GetHerHim |
GetHerHis |
GetHerHisMy |
GetHersHis |
GetHerselfHimself |
GetLadyLord |
GetSheHe |
Character names
These commands will show some variation of the name of the character. This is not a complete list.
Command |
---|
GetFirstName |
GetFirstNameBase |
GetFirstNameNicknamed |
GetFirstNameNicknamedNoTooltip |
GetFirstNameNicknamedNoTooltipRegnal |
GetFirstNameNicknamedOrMe |
GetFirstNameNicknamedOrMeNoTooltip |
GetFirstNameNicknamedOrMeNoTooltipRegnal |
GetFirstNameNicknamedOrMeRegnal |
GetFirstNameNicknamedPossessive |
GetFirstNameNicknamedPossessiveNoTooltip |
GetFirstNameNicknamedPossessiveNoTooltipRegnal |
GetFirstNameNicknamedPossessiveOrMy |
GetFirstNameNicknamedPossessiveOrMyNoTooltip |
GetFirstNameNicknamedPossessiveOrMyNoTooltipRegnal |
GetFirstNameNicknamedPossessiveOrMyRegnal |
GetFirstNameNicknamedPossessiveRegnal |
GetFirstNameNicknamedRegnal |
GetFirstNameNoTooltip |
GetFirstNameNoTooltipRegnal |
GetFirstNameOrMe |
GetFirstNameOrMeNoTooltip |
GetFirstNameOrMeNoTooltipRegnal |
GetFirstNameOrMeRegnal |
GetFirstNamePossessive |
GetFirstNamePossessiveNoTooltip |
GetFirstNamePossessiveNoTooltipRegnal |
GetFirstNamePossessiveOrMy |
GetFirstNamePossessiveOrMyNoTooltip |
GetFirstNamePossessiveOrMyNoTooltipRegnal |
GetFirstNamePossessiveOrMyRegnal |
GetFirstNamePossessiveRegnal |
GetFirstNameRegnal |
GetFullName |
GetFullNameNicknamed |
GetFullNameNicknamedNoTooltip |
GetFullNameNicknamedNoTooltipRegnal |
GetFullNameNicknamedOrMe |
GetFullNameNicknamedOrMeNoTooltip |
GetFullNameNicknamedOrMeNoTooltipRegnal |
GetFullNameNicknamedOrMeRegnal |
GetFullNameNicknamedPossessive |
GetFullNameNicknamedPossessiveNoTooltip |
GetFullNameNicknamedPossessiveNoTooltipRegnal |
GetFullNameNicknamedPossessiveOrMy |
GetFullNameNicknamedPossessiveOrMyNoTooltip |
GetFullNameNicknamedPossessiveOrMyNoTooltipRegnal |
GetFullNameNicknamedPossessiveOrMyRegnal |
GetFullNameNicknamedPossessiveRegnal |
GetFullNameNicknamedRegnal |
GetFullNameNoTooltip |
GetFullNameNoTooltipRegnal |
GetFullNameOrMe |
GetFullNameOrMeNoTooltip |
GetFullNameOrMeNoTooltipRegnal |
GetFullNameOrMeRegnal |
GetFullNamePossessive |
GetFullNamePossessiveNoTooltip |
GetFullNamePossessiveNoTooltipRegnal |
GetFullNamePossessiveOrMy |
GetFullNamePossessiveOrMyNoTooltip |
GetFullNamePossessiveOrMyNoTooltipRegnal |
GetFullNamePossessiveOrMyRegnal |
GetFullNamePossessiveRegnal |
GetFullNameRegnal |
GetName |
GetNameNicknamed |
GetNameNicknamedNoTooltip |
GetNameNicknamedNoTooltipRegnal |
GetNameNicknamedOrMe |
GetNameNicknamedOrMeNoTooltip |
GetNameNicknamedOrMeNoTooltipRegnal |
GetNameNicknamedOrMeRegnal |
GetNameNicknamedPossessive |
GetNameNicknamedPossessiveNoTooltip |
GetNameNicknamedPossessiveNoTooltipRegnal |
GetNameNicknamedPossessiveOrMy |
GetNameNicknamedPossessiveOrMyNoTooltip |
GetNameNicknamedPossessiveOrMyNoTooltipRegnal |
GetNameNicknamedPossessiveOrMyRegnal |
GetNameNicknamedPossessiveRegnal |
GetNameNicknamedRegnal |
GetNameNoTooltip |
GetNameNoTooltipRegnal |
GetNameOrMe |
GetNameOrMeNoTooltip |
GetNameOrMeNoTooltipRegnal |
GetNameOrMeRegnal |
GetNamePossessive |
GetNamePossessiveNoTooltip |
GetNamePossessiveNoTooltipRegnal |
GetNamePossessiveOrMy |
GetNamePossessiveOrMyNoTooltip |
GetNamePossessiveOrMyNoTooltipRegnal |
GetNamePossessiveOrMyRegnal |
GetNamePossessiveRegnal |
GetNameRegnal |
References
模组制作
文档 | Effects • 触发器 • 修正 • 作用域 • 变量 • 数据类型 • 本地化 • 可定制的本地化 |
脚本 | AI • 剧本 • 角色 • 效果指令 • 内阁 • 文化 • 决议 • 宗族 • 事件 • 政体 • 历史 • 地产 • 生活方式 • 军队 • 宗教 • Story cycles • 头衔 • 特质 |
地图 | 地图 • 地形 |
图形 | 3D模型 • Exporters • 界面 • Coat of arms • Graphical assets • Fonts • Particles • Shaders • Unit models |
音频 | Music • Sound |
其他 | 控制台指令 • 校验码 • 模组结构 • Troubleshooting |