i18n what do i wrong ^^

Heyho at the moment i try to change something to i18n but it doenst accept it …

for example this is the directory of the file: empty_barrel_ghost.json

brewerymod\entities\containers\empty_barrel

and my i18n is:

“description”: “i18n(brewerymod:entities.containers.empty_barrel.empty_barrel_ghost.description)”,
“display_name”: “i18n(brewerymod:entities.containers.empty_barrel.empty_barrel_ghost.display_name)”

and in the en.json its:

  "containers": {
     "empty_barrel": {
        "empty_barrel_ghost": {
           "display_name": "Wood Barrel",
           "description": "A nice place to store drinks."
           }
        }
     },

json lint also shows its all correct … have i forget something? must i added something special in the manifest?

Wouldn’t it be like:

  "entities" : {
    "containers": {
     "empty_barrel": {
        "empty_barrel_ghost": {
           "display_name": "Wood Barrel",
           "description": "A nice place to store drinks."
           }
        }
      }
     },

do you have the “entities” part? In the manifest I guess the “default_locale”: “en”, or whatever is needed.

1 Like

all inside ^^ hmmm perhaps because i havent changed all entities to i18n at the moment … i will test it ^^

I think it doesn’t matter if half of them aren’t with i18n yet. Just try little by little.

1 Like

to be exact because @Kurohito hasnt answered since nov and has uploaded the mod to github with free access we have translate his localfile and now i want to add the i18n links in the files. GitHub - Inkraja/brewerymod: A companion mod for Stonehearth Cafe

ok issue resolved … i can try lots of ways but when i write default_locales instead of default_locale … nothing will work :joy:

3 Likes