A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.

1

pack.mcmeta fields to prefer custom translations over vanilla

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    Complex custom pack example:

    {
      "pack": {
        ...
      },
      "language": {
        "general_fallback": "pt_br",
        "scn": {
          "fallback": "minecraft:es_es"
        },
        "it_it": {
          "fallback": "minecraft:fr_fr"
        }
      }
    }

    In this pack, I have:
    • "Ruby" in English,
    • "Rubi" in Brasilian Portuguese,
    • "Rubí" in Spanish and
    • "Rubis" in French
    for all the iron items and blocks.

    Supposing that "Ruby" strings for Sicilian, Italian and Romanian were missing in this pack, rather than having:
    • scn show "Ferru",
    • it_it show "Ferro" and
    • ro_ro show "Fier"
    (basically the vanilla words for "Iron"), I'd have:
    • "Rubí" (from Spanish) for Sicilian,
    • "Rubis" (from French) for Italian and
    • "Rubi" (from Brasilian Portuguese, which is set as the generic fallback) for Romanian (which isn't defined).

    Every other language would behave like Romanian, having "Rubi" from pt_br rather than the words "Eisen", "Järn", "Jern", "Hekuri" and so on from that same vanilla locale or the vanilla English word "Iron" itself. This can be useful to make a pack intended for Brasilians be language-proof for other players in Brasil that don't play in pt_br.

    A German-speaking player from Brasil would see "Picareta de Rubi" rather than "Iron Pickaxe" with a pack like this enabled, which would still be wrong (it should be "Rubinspitzhacke", but this wasn't defined by the creator of the pack) yet it would reflect more what is being shown by the game.