Tutorial: Basic Usage of Content Patcher Translation Keys (i18n)
PLEASE NOTE: Item fields have changed as of 1.6 so this tutorial is no longer accurate.
CP Translation Keys
When editing crafting/cooking recipe or animal data in Content Patcher or BFAV, the final field is often a translation key. This is important for allowing compatibility with other languages (TODO: explain why). For example, a recipe adding a craftable battery might look like this:
"Battery": "335 1 338 1 767 5/Home/9/true/Mining 6/でんち"
If the last field is left blank:
"Battery": "335 1 338 1 767 5/Home/9/true/Mining 6"
Content Patcher will still accept the code, but the game will read the item as null in non-English languages, which can cause errors and crashes, as well as not displaying correctly in-game.
For best support, an i18n token (see below for i18n information should be used to ensure multi-language compatibility:
"Battery": "335 1 338 1 767 5/Home/9/true/Mining 6/{{i18n:Battery}}