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.
All Versions
+ Add Version- 🐛 [MCA] Added all missing English lang keys, so translators get the desired results when translating (sorry for that!)
- 🐛 [MCA] Fixed a wrong lang key reference inside a Villager's interaction GUI ("Not married" text).
- 🐛 [FBP] Fixed (finally) the Keybind descriptions + R should work now. Thanks to cdstk_ALT, Nischi and Meldexun for helping me with this bug!
- [FF] Added lang key for Familiar Fauna Icon fake Item.
- 👀 [MCA] Now localizes the beloved "Minecraft Comes Alive" mod!
- Added a new, more specific Mixin to localize Biome names only on Dynamic Surroundings HUDs Compass' HUD
- v1.0.10-**
- Updated dependencies (FermiumBooter, RecurrentComplex, DynamicOres, RoguelikeDungeons)
- [Bountiful Baubles]** Localized messages related to Wormhole teleport items.
- [FancyBlockParticles]** Fixed KeyBindings not working for some reason.
- Added missing lang keys from many mods (DynamicTrees, GrappleMod, ItemPhysic, LevelUp2, LycanitesMobs, SRParasites, SwitchBow, Toolbelt)
- 👀 Now you can choose LocLore's default text formatting! Configurable via config.
- 👀 Mixin to prevent players from accidentally placing placeable Novelty items (Blocks, Paintings, Signs or Skulls with custom Name and Lore), resulting in them losing their NBT tags because of Vanilla behaviour.
- [RLD]** Made it a little easier to get Fourles Darkroast Beans.
- [IGI]** Added the ability to parse the new "lang" tag to the "InGame Info XML" mod's XML parser, which must include only a lang key. No arguments tho.
- Working on a Wiki so Modpack creators can easily make use of Localizator's translation framework.
- v1.0.9**
- [Roguelike Dungeons] Made all Novelties obtainable in survival. (Mob-specific, level-specific and room-specific) Have fun finding them! :D
- [Roguelike Dungeons] Added individual toggleable config options to add the "Unbreakable" NBT tag to each Novelty item that has durability.
- [Minecraft] When using the /kill command, item entities will show their name correctly, instead of "item.item.diamond", etc.
- [Morpheus] Localized all messages. The custom messages in the config file will be ignored and the corresponding lang key will be used instead. The date-specific hardcoded messages, command messages, etc. have a corresponding lang key now.
- v1.0.8**
- Added support for Dynamic Raw Ores to use lang keys (if they exist) for the generated raw materials and raw blocks.
- Added lang keys for SME (So Many Enchantments) custom damage sources (Pure, Ethereal, Cleave, Deconstruct, Culled, CounterAttack, Silence, PhysicalDamage), just in case they can be resisted by the Sentient armor.
- v1.0.7**
- JAR's logo.png now matches the CurseForge page project logo.
- Now if Fermium Booter isn't present, Minecraft will tell users 'fermiumbooter is not loaded', and the game won't continue loading. (There are still people that forgets to install Fermium Booter and reports me nothing gets translated, only to find out Fermium Booter was missing).
- Credits in my mod info screen are now more detailed and formatted.
- [FML] Mod status text ("Available", etc) in Mod List screen is now translatable.
- [SRParasites] Evolution messages mixins now reflect the class changes in new SRParasites.
- v1.0.6**
- The Server and Client config options are now true by default. Mixins are still false by default on first run.
- [FMB] New Lava Fish Bucket, Void Bucket and Void Fish Bucket!
- [Fish Requirements] Now shows the light level requirements (if Inspirations is loaded, it shows the Photomoter texture. Else, shows Minecraft light level texture), and the Biome Type names.
- Added tons of lang keys for Entity names and some damage types.
- Added missing lang keys for Shield Banner patterns and special arrow entities.
- [Bountiful Baubles] Instead of adding a new line to the Ankh baubles, now it uses a separate lang key if the cobweb immunity mixin is enabled.
- [SRParasites] Added custom list name for Asimmilated adventurers
- [RoughTweaks] Add the "per use" text for the healing items tooltip.
- v1.0.5**
- SpartanWeaponry: Localized Throwing Weapons hardcoded "Material Bonus:" tooltip text.
- Improved handling of an item name when it has both Name and LocName NBT tags. It won't be ITALIC-hardcoded, but retain coloring, like for enchanted items.
- ScalingHealth: Localized April Fools and other messages.
- ScalingHealth: Localized Blight death message and added its killer to the message.
- Charm: Localized generated loot Crates names.
- FishingMadeBetter: Caught fishes will have LocName instead of Name, for consistency. And during checking fishes in inventory, their names won't be updated (this means previous fishes won't stack with new ones. But hey! Now if you rename a caught fish, its name won't be overwritten!).
- InfernalMobs: Added missing lang keys for several mobs from different mods.
- SetBonus: Improved the way bonus and set names are localized.
- FBP: Fixed "Open Menu" keybind not being localized.
- ScalingHealth: Keybind category turned from "scalinghealth" to "Scaling Health".
- Replaced more Overwrites with more precise injections, for compatibility.
- Added entity.ItemFrame.name lang key.
- v1.0.4**
- Fixed pre-Localizator caught fishes not stacking with current ones.
- Fixed fish name inside bucket showing in white color.
- Localized Spartan Weaponry's hardcoded "Material Bonus:" on ItemSwordBase tooltip.
- Replaced many Overwrites with more precise injections, for compatibility.
- BattleTowers
- LycanitesMobs
- Charm
- FBP
- FMB
- Minecraft ItemWrittenBook
- SereneSeasons
- iChunUtil
- Localized some Trinkets & Baubles texts:
- Chat messages when Ender Queen is attacked ("Go, my loyal subject!", "The void protects me!")
- "Weight:" added tooltip text on configured armor when transformed into the Faelis race.
- Fixed FMB JEI Plugin trying to create a Recipe category even if FMB was not loaded.
- Fixed some Lycanites lang keys in other languages
- Fixed error spamming in latest.log when an enabled Mixin tried to access a mod that wasn't loaded (in other words, you can again enable all mixins and if any of their corresponding mods is not in your instance, that mixin won't load, no errors in logs, all happy!)
- v1.0.3**
- IMPORTANT: As of 1.0.3, Localizator core mixin loading has been extracted to and will now rely on FermiumBooter.**
- Localize Writable books pages with new "locPages" NBT tag (Vanilla & Varied Commodities)
- Fixed "LocName" didn't reset Vanilla's hardcoded italic format when an item has both "Name" and "LocName" NBT tags.
- Localize Fishing Made Better (Caught fish tooltip, Fish slice tooltip, Bait Bucket tooltip, Fishing Rod's Bait name, BaitBox contents on chat, Fish Tracker results on chat, etc.)
- Added a little on-screen help during FMB minigame for players that don't know how to play it.
- Added Fish Requirements JEI Plugin for FMB. It shows a fish's requirements (Fishing Rods, Reels, Bobbers, Baits, Dimensions, BiomeTypes, Y height, RainRequired, ThunderRequired) as a recipe.
- Formatted FMB Fish Tracker messages, for readability. Also, if you click on a fish name inside this chat message, its requirements will show.
- Localize Keybind texts in "Controls & Keys" screen. (Fancy Block Particles, LevelUp!2, Mo'Bends, Scaling Health)
- Localized Vanilla TileEntityLockable CustomName & Charm MesonGuiContainer displayName, so players with the corresponding lang key can see the container's name localized.
- v1.0.2**
"Localizing Mixins" and "Miscelaneous Mixins"
This means the config file structure changed, therefore you'll have to check all your desired Mixins again, sorry!
- [New] Added cobweb immunity to Ankh Charm and Ankh Shield, yay.
- [New] Localize Recurrent Complex's artifact names. (120,960 possible combinations!).
- [New] LocName NBT tag now supports lang keys with arguments! (this was needed for RecComplex Mixin).
- [New] LocLore NBT tag now supports lang keys with 1 argument for each line (added this just in case, for the future).
- [New] Patched an exception in iChunUtils trying to query invalid URL for its Patrons and Version data.
- [New] Localize Biome names (for example, Quark's Compass show the current biome name).
- v1.0.1**
- [New] Localize Armor Underwear's Ozzy Liners hardcoded "MILD/WARM/COOL"description when applied to an armor piece.
- [New] Localize Better Survival's Potion-imbued weapons hardcoded "hits remaining" tooltip.
- [New] Localize Corpse Complex's hardcoded Grave Scroll description.
- [Fixed] Bug in previous Minecraft's Written Book mixin.
- [New] Fix Item Physic's ERRORED text when looking at some broken Armor Underwear items (Ozzy liners, etc.)
- [New] Localize Item Physic's hardcoded "Power: " message when throwing an item.
- [New] Fixed Item Physic's reversed description when looking at a dropped item.
- [Added] Localize Scape & Run: Parasites' armor resisted damage sources.

