「Mod」を編集中
ナビゲーションに移動
検索に移動
この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
37行目: | 37行目: | ||
* 数十行または数百行のコードでテキストを置換する場合は、正規表現を使用できます。これらは、上記のすべてのテキストエディタで使用できます。教材:[https://regexone.com/ RegexOne]、[https://regexr.com/ RegExr]。 | * 数十行または数百行のコードでテキストを置換する場合は、正規表現を使用できます。これらは、上記のすべてのテキストエディタで使用できます。教材:[https://regexone.com/ RegexOne]、[https://regexr.com/ RegExr]。 | ||
− | === | + | === Localization Files === |
− | * | + | * *.yml files in the localization folder must be saved with '''UTF-8 + BOM''' encoding to be read properly by the game. |
− | * | + | * filenames need to be saved in the form as '''*l_<language>.yml''' for the game to read the file correctly. For example '''council_l_english.yml'''. |
− | ** "localization" | + | ** You must use the US spelling of "localization". The Commonwealth spelling of "localisation" ''will not work''. |
− | * | + | * To overwrite existing localization values, put your files with changes into a folder named "replace" within the localization folder. |
== Modの作成 == | == Modの作成 == |