Skip to content

Teh's Core Mod: Content Packs: Internationalization

TehPers edited this page Jan 26, 2019 · 7 revisions

Content packs require an i18n folder in the root of the content pack in order to find names and descriptions for custom items and perform custom translations. The rules for the i18n folder are the same as the rules for a SMAPI mod's i18n folder. You can view the details on the folder structure here.

Common translation keys

Translation Key Description
item.<item key> The name of an item. corresponds to the item's key in the content pack where it's defined (for example "candy").
item.<item key>.description The description of an item. corresponds to the item's key in the content pack where it's defined (for example "candy").