Skip to content

Localized Container Name

KameiB edited this page Jan 4, 2025 · 2 revisions

Localized Container Name

During my localization journey, I found structures made in Recurrent Complex, that had placed containers (chests, etc.) with hardcoded names when you open them (of course).

The structure is as follows:

{  
    CustomName: "Name"  
}  

Localizator will check if the container name has a language key, and translates it.

Usage

Just rename your container on an Anvil with a language key:
image

When you place it and open it, it'll have its name translated!
image

Charm crates

Charm adds its own containers (Crates, etc.).
These containers manage the GUI by themselves.

Usage

Localizator Mixins into their code, so you can rename Charm's containers on an Anvil with a language key and it'll work as expected.
image

When you place it and open it, it'll have its name translated!
image

Clone this wiki locally