
Localizator
No more hardcoded texts! Localize them!
- Загрузки
- 29K
- Подписчики
- 4
- Обновлён
- 24 февраля 2025 г.
- Лицензия
- MIT
Опубликован 1 апреля 2024 г.
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.
Центр версий
9 версийЧенджлог
1.0.12Релиз1.12.2 · 24 февраля 2025 г.
-v1.0.12-
- 🐛 [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.
1.0.11Релиз1.12.2 · 4 февраля 2025 г.
-v1.0.11-
- 👀 [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
1.0.10Релиз1.12.2 · 3 января 2025 г.
-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.
Included a configurable Whitelist for Novelty Blocks, so modpack creators can allow players placing those specific Novelty Blocks for whatever reason. - [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.
Item custom Name, Item Lore, Written Book, Writable Book, Entity Name, Biome Name, Container Name, Signs.
1.0.9Релиз1.12.2 · 1 сентября 2024 г.
v1.0.9
When I mention "Roguelike Dungeons", I mean "Roguelike Dungeons -- Fnar's Edition" by fnar, not the one from Greymerk.
- [Roguelike Dungeons] Made all Novelties obtainable in survival. (Mob-specific, level-specific and room-specific) Have fun finding them! :D (Please update your Roguelike Dungeons for a new Novelty item!)
- [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.
1.0.8Релиз1.12.2 · 1 сентября 2024 г.
v1.0.8
- Added support for Dynamic Raw Ores to use lang keys (if they exist) for the generated raw materials and raw blocks. If the corresponding lang key doesn't exist, it will use the default naming method.
- 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.
1.0.7Релиз1.12.2 · 1 сентября 2024 г.
v1.0.7
I realized SRParasites published an update where they moved the Evolution chat messages to another class, so I took my time and also improved a couple of details in my mod.
- 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.
1.0.6Релиз1.12.2 · 10 июля 2024 г.
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.
1.0.5Релиз1.12.2 · 26 апреля 2024 г.
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.
Комментарии
Загружаем…

