@@ -220002,80 +220002,12 @@
220002220002 Author: Vireth
220003220003 Description: ''
220004220004 Likes: 3
220005- Views: 442
220006- Downloads: 30
220007- Text: "Helper to localize textures in your mods<br><br><div class=\"markdown-heading\"\
220008- \ dir=\"auto\"><h2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\">Usage</h2></div>Put\
220009- \ a <code>LocalizationTextures.yaml</code> in your mod root folder to specify\
220010- \ the new texture for each language.<br><br>\r\n<div class=\"markdown-heading\"\
220011- \ dir=\"auto\"><h3 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\">Simple\
220012- \ format</h3></div>It has this format:<br><br>\r\n<div class=\"highlight highlight-source-yaml\
220013- \ notranslate position-relative overflow-auto\" dir=\"auto\"><pre><span class=\"\
220014- pl-ent\">french</span>:\r\n <span class=\"pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>:\
220015- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/french_stuff1</span>\r\
220016- \n <span class=\"pl-ent\">Graphics/Atlases/Portraits/stuff/ExampleMap/memo_title</span>:\
220017- \ <span class=\"pl-s\">Graphics/Atlases/Portraits/stuff/ExampleMap/french_memo_title</span>\r\
220018- \n<span class=\"pl-ent\">german</span>:\r\n <span class=\"pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>:\
220019- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/german_stuff1</span></pre><div\
220020- \ class=\"zeroclipboard-container\">\r\n </div></div>You can name the localized\
220021- \ textures however you want, but you have to put them in the same data path than\
220022- \ the original texture.<br><br>\r\nFor example: if in Lönn the path for the texture\
220023- \ is <code>ExampleMap/stuffs/stuff1</code> and it points to <code>Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1.png</code>,\
220024- \ the data path is <code>Graphics/Atlases/Gameplay/decals</code>, so you have\
220025- \ to put your localized textures for this texture somewhere in <code>Graphics/Atlases/Gameplay/decals</code><br><br>\r\
220026- \n<div class=\"markdown-heading\" dir=\"auto\"><h3 tabindex=\"-1\" class=\"heading-element\"\
220027- \ dir=\"auto\">Advanced format</h3></div>Depending on your usage, you may need\
220028- \ more advanced features to ease your Localization work.<br><br>\r\n<blockquote>\r\
220029- \n<strong>BE CAREFUL</strong> of the formatting. When using \r\nthe advanced format,\
220030- \ the yaml has to follow the structure metadatas >\r\n (aliases, etc.) and\
220031- \ languages > (the languages where the \r\nlocalization happen)!<br><br>\r\n\
220032- </blockquote>\r\n<div class=\"markdown-heading\" dir=\"auto\"><h4 tabindex=\"\
220033- -1\" class=\"heading-element\" dir=\"auto\">Aliases</h4></div>If\r\n you start\
220034- \ to have a lot of languages localized in your file, you can \r\nend up in the\
220035- \ case where you specify the same original texture in your <code>.yaml</code>\
220036- \ file.<br>\r\nThis can lead to issues when moving assets to different folders\
220037- \ or \r\nmerging multiple folders, as it can break the localization. Fortunately,\r\
220038- \n <strong>aliases</strong> are here to solve this issue.<br><br>\r\nFor example,\
220039- \ you have this starting <code>LocalizationTextures.yaml</code> file:<br><br>\r\
220040- \n<div class=\"highlight highlight-source-yaml notranslate position-relative overflow-auto\"\
220041- \ dir=\"auto\"><pre><span class=\"pl-ent\">brazilian</span>:\r\n <span class=\"\
220042- pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>: <span\
220043- \ class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/brazilian_stuff1</span>\r\
220044- \n<span class=\"pl-ent\">french</span>:\r\n <span class=\"pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>:\
220045- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/french_stuff1</span>\r\
220046- \n<span class=\"pl-ent\">german</span>:\r\n <span class=\"pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>:\
220047- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/german_stuff1</span>\r\
220048- \n<span class=\"pl-ent\">italian</span>:\r\n <span class=\"pl-ent\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>:\
220049- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/italian_stuff1</span></pre><div\
220050- \ class=\"zeroclipboard-container\">\r\n </div></div>You can see that the texture\
220051- \ <code>Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</code> is repeated\
220052- \ in each language, but if you use aliases...<br><br>\r\n<div class=\"highlight\
220053- \ highlight-source-yaml notranslate position-relative overflow-auto\" dir=\"auto\"\
220054- ><pre><span class=\"pl-ent\">metadatas</span>:\r\n <span class=\"pl-ent\">aliases</span>:\r\
220055- \n <span class=\"pl-ent\">stuff1</span>: <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/stuff1</span>\r\
220056- \n<span class=\"pl-ent\">languages</span>:\r\n <span class=\"pl-ent\">brazilian</span>:\r\
220057- \n <span class=\"pl-ent\">stuff1</span>: <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/brazilian_stuff1</span>\r\
220058- \n <span class=\"pl-ent\">french</span>:\r\n <span class=\"pl-ent\">stuff1</span>:\
220059- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/french_stuff1</span>\r\
220060- \n <span class=\"pl-ent\">german</span>:\r\n <span class=\"pl-ent\">stuff1</span>:\
220061- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/german_stuff1</span>\r\
220062- \n <span class=\"pl-ent\">italian</span>:\r\n <span class=\"pl-ent\">stuff1</span>:\
220063- \ <span class=\"pl-s\">Graphics/Atlases/Gameplay/decals/ExampleMap/stuffs/italian_stuff1</span></pre><div\
220064- \ class=\"zeroclipboard-container\">\r\n </div></div>Less repetition! The name\
220065- \ is clear, the path is only written one time, making it easier to update it if\
220066- \ needed.<br><br><div class=\"markdown-heading\" dir=\"auto\"><h2 tabindex=\"\
220067- -1\" class=\"heading-element\" dir=\"auto\">Language IDs</h2></div>The language\
220068- \ IDs are the ones used by Celeste, that is:<br><br>\r\n<table>\r\n<thead>\r\n\
220069- <tr>\r\n<th>Language</th>\r\n<th>id</th>\r\n</tr>\r\n</thead>\r\n<tbody>\r\n<tr>\r\
220070- \n<td>English</td>\r\n<td>english</td>\r\n</tr>\r\n<tr>\r\n<td>Brazilian Portuguese</td>\r\
220071- \n<td>brazilian</td>\r\n</tr>\r\n<tr>\r\n<td>French</td>\r\n<td>french</td>\r\n\
220072- </tr>\r\n<tr>\r\n<td>German</td>\r\n<td>german</td>\r\n</tr>\r\n<tr>\r\n<td>Italian</td>\r\
220073- \n<td>italian</td>\r\n</tr>\r\n<tr>\r\n<td>Japanese</td>\r\n<td>japanese</td>\r\
220074- \n</tr>\r\n<tr>\r\n<td>Korean</td>\r\n<td>korean</td>\r\n</tr>\r\n<tr>\r\n<td>Russian</td>\r\
220075- \n<td>russian</td>\r\n</tr>\r\n<tr>\r\n<td>Simplified Chinese</td>\r\n<td>schinese</td>\r\
220076- \n</tr>\r\n<tr>\r\n<td>Spanish</td>\r\n<td>spanish</td></tr></tbody></table>"
220005+ Views: 447
220006+ Downloads: 36
220007+ Text: See how to use the mod on <a href="https://www.vireth.fr/loc-helper.html">Github</a>
220008+ :3
220077220009 CreatedDate: 1767820827
220078- ModifiedDate: 1768220756
220010+ ModifiedDate: 1768228802
220079220011 UpdatedDate: 1768220851
220080220012 Screenshots:
220081220013 - https://images.gamebanana.com/img/ss/mods/695ec9c3d3628.jpg
@@ -220088,14 +220020,14 @@
220088220020 HasEverestYaml: true
220089220021 Size: 215546
220090220022 CreatedDate: 1768218781
220091- Downloads: 0
220023+ Downloads: 3
220092220024 URL: https://gamebanana.com/dl/1601109
220093220025 Name: localizationhelper_1_4_0.zip
220094220026 - Description: ''
220095220027 HasEverestYaml: true
220096220028 Size: 209807
220097220029 CreatedDate: 1768090443
220098- Downloads: 4
220030+ Downloads: 6
220099220031 URL: https://gamebanana.com/dl/1600020
220100220032 Name: localizationhelper_1_3_0.zip
220101220033 - Description: ''
@@ -220116,7 +220048,7 @@
220116220048 HasEverestYaml: true
220117220049 Size: 14196
220118220050 CreatedDate: 1767820116
220119- Downloads: 8
220051+ Downloads: 9
220120220052 URL: https://gamebanana.com/dl/1597765
220121220053 Name: localizationhelper.zip
220122220054 CategoryId: 4632
0 commit comments