Localizator

Localizator

No more hardcoded texts! Localize them!

29 665 downloads
4 followers

Check out the picture Gallery!

Discord

Requires FermiumBooter

This is a mod powered by Mixin which enables localization of hardcoded texts.
It means replacing static in-code texts with language keys, so they can be translated with a language Resourcepack.

This mod:

  • Adds missing localization functionality to MC 1.12.2
  • Localizes hardcoded texts in many mods
  • Includes lots of lang keys not originally included in Minecraft and many mods.
  • Bonus: Applies little QoL fixes in some mods (this is not the purpose of Localizator, but I just HAD to fix them).

On first run, all Mixins are disabled by default.
You can enable all Mixins if you want.
If a corresponding mod doesn't exist in your instance, its Mixin won't load and everything will run as expected.
.

For the complete list of included Mixins, check the spoiler below!

Spoiler
  • (Armor Underwear)  Localizes the "MILD / WARM / COOL" tooltip texts on armor parts with Oxxy Liner.
  • (Battle Towers)  Localizes the message when the Golem is defeated.
  • (Better Survival)  Localizes the "hits remaining" tooltip text on potion-imbued weapons.
  • (Bountiful Baubles)  Adds an option to prevent Modifier of being added to the Bauble name.
  • (Bountiful Baubles)  Adds cobweb immunity to Ankh Charm and Ankh Shield (because it makes sense to me).
  • (Bountiful Baubles) Localizes messages related to Wormhole teleport items.
  • (Callable Horses)  Localizes all messages when connected to a server.
  • (Charm)  Localizes all cakes names and Crates generated in world.
  • (Charm)  Localizes the Composter JEI usage screen texts. Localizes MesonGuiContainer's displayName.  
  • (Corpse Complex)  Localizes the Grave Scroll description.
  • (Dynamic Trees)  Removes the weird symbols on Staff tooltip.  
  • (Dynamic Trees) Includes some lang keys originally missing in the mod's JAR.
  • (Dynamic Raw Ores)  If a lang keys exists for the generated Raw Ore or Raw Block, show it instead of using the default naming method.  
  • (Fancy Block Particles)  Localizes its Keybind screen texts.  
  • (Fishing Made Better)  Localizes Fish name and information, Fish Tracker messages.
  • (Fishing Made Better)  Adds a JEI Plugin for Fish Requirments.  
  • (Fishing Made Better)  Creates Lava Fish Bucket, Void Bucket and Void Fish Bucket for all fishermen's joy.
  • (Forge FML)  Localizes the Mod List screen.
  • (Forgotten Items)  Localizes all items descriptions.
  • (iChunUtils)  Patches an exception when trying to reach an invalid URL.
  • (Item Physic)  Fixes the "ERRORED" text when looking at Armor Underwear items.
  • (Item Physic)  Localizes the "Power:" status message when throwing items.
  • (Item Physic)  Fixes item description being shown in reverse order.  
  • (Item Physic) Includes some lang keys originally missing in the mod's JAR.
  • (LevelUp! 2)  Localizes its Keybind screen texts.  
  • (LevelUp! 2) Includes some lang keys originally missing in the mod's JAR.
  • (Lycanites Mobs)  Localizes messages and status messages when connected to a server.
  • (Lycanites Mobs) Includes some some lang keys originally missing in the mod's JAR.
  • (Minecraft) Adds LocName NBT tag support for lang keys with arguments!
  • (Minecraft)  Adds the LocLore NBT tag for localized item lore. And it supports lang keys with 1 argument!
  • (Minecraft)  Adds the locTitle and locAuthor NBT tags for localized Written Books.
  • (Minecraft)  Translates entity names if their CustomName tag contains a lang key (works on bosses too!).
  • (Minecraft)  Localizes Biome names.  
  • (Minecraft)  New "locPages" NBT tag, to localize Writable Books.  
  • (Minecraft)  If TileEntityLockable's CustomName contains a lang key, it'll be translated.  
  • (Minecraft)  Item entities killed by the /kill command will show their name correctly.  
  • (Minecraft)  Adds missing lang keys, like some Shield Pattern names and item entity names.  
  • (Minecraft) Sometimes Mod Developers and Modpack creators like to add "Novelty/Collectible Items" (Items with custom Name and Lore) to add some fun to the game.
    Some of those items are placeable (Blocks, Paintings, Signs, Skulls). And if players place them, the items lose their NBT tags (Vanilla behaviour), turning into normal items.
    Localizator adds config toggles (and an optional Block Whitelist) to prevent players from placing placeable Novelty Items and shows a Status Message explaining why they can't place them.
  • (Mo' Bends)  Localizes its Keybind screen texts.  
  • (Morpehus)  Localizes all messages.  
  • (Neat)  If an entity's CustomName tag contains a lang key, it'll be translated.
  • (Recurrent Complex)  Localizes artifact's random names (120,960 possible combinations!).
  • (Roguelike Dungeons -- Fnar's Edition)  Makes all Novelties obtainable in Survival. Mobs holding/wearing novelties will be dressed as the novelty's owner for extra Nostalgia. Can be made Unbreakable.  
  • (Rough Tweaks)  Makes its item's language keys unique, so they don't collide with First Aid's.
  • (Rough Tweaks)  Adds an option to show the items hidden description.  
  • (Scaling Health)  Localizes Keybind screen texts, Blight death messages and other messages like April Fools.  
  • (Serene Seasons)  Adds Rustic's special crops (Chili, Tomato) to the fertility tooltip.  
  • (Serene Seasons) Adds Rustic's special crops (Chili, Tomato) to the fertility tooltip.
  • (Set Bonus)  Set and Bonus texts from config file can be lang keys, so they become translatable.  
  • (Spartan Weaponry)  Localizes the "Material Bonus:" hardcoded tooltip text.  
  • (SRParasites)  Localizes parasite armor's hardcoded "Current Adaptation" and "reduction" tooltip texts, and improves their formatting.
  • (SRParasites)  Adds an option to translate the resisted damage sources (for non-entity ones, you need to add the corresponding language keys).  
  • (SRParasites)  Adds a customizable names list for the Assimilated adventurers.  
  • (SRParasites) Includes some lang keys originally missing in the mod's JAR.
  • (Trinkets & Baubles)  Localized Ender Queen's messages and the "Weight:" tooltip text on armor when transformed in Faelis.  
  • (Varied Commodities)  New "locPages" NBT tag, to localize Writable Books.  
  • (WAILA's fork "Hwyla")  Translates entity's CustomName tag contents.

Modpack creators, check the new Wiki!


FAQ:

Spoiler

Why did you change dependencies?

Originally, I depended on MixinBooter to load Mixins, and managed the access to other mods by myself.
The code for accessing other mods is extremely Mixin version-dependant, so if a new Mixin update releases, Localizator would most likely crash until I find a way to adapt the accessing code to the new Mixin version, and my response time would be long.
Fonnymunkey's FermiumBooter also manages the code for accessing other mods, and fonny is way more capable of adapting this code for future Mixins versions, resulting in very short response times.

So by depending on FermiumBooter, I can focus on my own Mixins, and leave the access code to a more experimented developer.

I hope you understand.

Localizator

Lava Fish Bucket, Void Bucket and Void Fish Bucket!

Localizator

Localizes the hardcoded Grave Scroll description.

Localizator

Have you noticed that a dropped item description shows in reverse order for a weird reason? Localizator fixes that!

Localizator

Enable cobweb immunity to Ankh Charm and/or Ankh Shield!

Localizator

New "locPages" NBT tag for command/Recurrent Complex generated Writable Books, so your modpack lore is understood by all your fans!

Localizator

Localizes the hardcoded "Power:" status message when throwing an item.

Localizator

The Fishing plugin shows all fish conditions! Biome Type, Time of the day, Rain, Thunderstorm, Height (Y-axis range), Light level range, Reel, Bobber and baits!

Localizator

Show the localized name of all bosses, even when connected to a server! (Remember, you need to have the corresponding lang key)

Localizator

Added "Press [LEFT] / [RIGHT]", a little on-screen help for players that don't know how to fish!

Localizator

Localizes the hardcoded "hits remaining" text added to a potion-imbued weapon's tooltip.

Localizator

New "locPages" NBT tag for command/Recurrent Complex generated Writable Books, so your modpack lore is understood by all your fans!

Localizator

Enables support for language keys in Set and Bonus names in the SetBonus config file.

Localizator

Localized Fancy Block Particles, LevelUp! 2, Mo' Bends, and Scaling Health keybind texts

Localizator

Instead of showing "ERRORED" when looking at a dropped Ozzy Liner and other Armor Underwear items, show their Name.

Localizator

Formatted Fish Tracker messages, to improve readability. You can click on the fish name (in Yellow-Bold color) to show its Fish Requirements!

Localizator

When using the /kill command, item entities will show their name instead of "item.item.diamond" etc.

Localizator

For those who hate those weird "Â" symbols in the Staff tooltip as much as me!

Localizator

Localizes the hardcoded texts in the Composter JEI recipe GUI.

Localizator

Enables support for localization tags for Written Books' title and author. Also, enables a new NBT tag for localized lore.

Localizator

Localizes the hardcoded "MILD/WARM/COOL" texts when applying an Ozzy Liner to a piece of armor.

Localizator

Localizes all horse-related messages sent from the server.

Localizator

Localizes parasite armor's hardcoded "Current Adaptation:" and "reduction:" texts. Plus (optional): translate the resisted damage sources!

Localizator

Caught fish tooltip, Fish Slice tooltip, BaitBucket tooltip, Fishing Rod's Bait name, BaitBox contents, Bait Bucket tooltip, etc!

Localizator

Boss names can be translated if the corresponding lang key exists. Example: /summon minecraft:wither ~ ~ ~ {CustomName:"entity.localizator.KameiB.name"}

Localizator

Localizes the hardcoded texts in Forge's Mod List screen. (also highlights the important mod information!)

Localizator

When connected to a server, all messages where shown only in English. This fixes that.

Localizator

Localizes the artifact random names! (120,960 possible combinations!)

Localizator

Localizes the hardcoded "Fertile seasons:" and seasons texts in crops tooltip. Also, adds support for Tomato seeds and Chili seeds from Rustic!

Localizator

Treats an entity's CustomName NBT tag as a lang key to translate it. Try it! /summon minecraft:cow ~ ~ ~ {CustomName:"entity.Parrot.name"}

Localizator

All messages, books, and GUIs are now translatable!

Localizator

Localizes the hardcoded special cakes names.

Localizator

Adds an option to remove the Modifier text from the Bauble's name.

Localizator

Localizes all Forgotten Items' item descriptions.

Localizator

If a sword is made out of a material that gives a bonus, it's shown on its tooltip. This hardcoded text is now translatable.

Localizator

Translates Biome names as if they were lang keys. If you want your custom biome names translated, I recommend this lang key format: biome.<mod_name>:<biome_resource_location>.name Example: biome.traverse:autumnal_woods.name=Autumnal Woods

Localizator

When shot by an arrow while wearing the Ender Queen Crown, sometimes you'll teleport and this message will shown on chat.

Localizator

Did you know Rough Tweaks items' lang keys are identical to the items from First Aid? Also, did you know they had a hidden tooltip that shows the amount of health it heals?