Line 262: |
Line 262: |
| ] | | ] |
| }|lang=javascript}} | | }|lang=javascript}} |
| + | |
| + | ==Limitations== |
| + | Custom languages must be available very early in the game startup, and won't be handled correctly if they're added later. That means: |
| + | * For Content Patcher packs, they must be added without <samp>When</samp> conditions (or only using immutable conditions like config or <samp>HasMod</samp>). |
| + | * For C# mods, they should be added in [[Modding:Modder Guide/APIs/Events#Game loop|<samp>GameLaunched</samp>]] or earlier. |
| | | |
| ==See also== | | ==See also== |