Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change localizedName through the lang file? #221

Open
citric-sulfur opened this issue May 29, 2024 · 1 comment
Open

How to change localizedName through the lang file? #221

citric-sulfur opened this issue May 29, 2024 · 1 comment
Assignees
Labels
bug Something isn't working undergoing testing Undergoing Testing

Comments

@citric-sulfur
Copy link

Issue description

I'm currently working on modpacks that are available in various languages.
I succeeded in applying the translated names of the items and blocks added to emendatus enigmatica, but I couldn't find a way to change the name of the ore that Jade mod displays.
Is it possible to change the localizedName displayed in Jade mod to a lang file?
If possible, I would appreciate it if you could also tell me how.

(I used Untranslated Items mod)
javaw_ozdd2NGOt2
javaw_JFSWo7XXBb
javaw_SeToZoL6vF
javaw_LzGk5Y4rVm

(I would like to change this part through the lang file.)
javaw_Z02a1qHc5O
javaw_s49ePOv2AD

material\lifestone.json
{ "id": "lifestone", "source": "mod", "localizedName": "Lifestone", "disableDefaultOre": true, "processedTypes": [ "gem", "ore", "storage_block" ], "properties": { "materialType": "gem", "harvestLevel": 0, "isEmissive": true }, "oreDrop": { "drop": "kubejs:rough_lifestone", "min": 1, "max": 1 }, "colors": { "materialColor": "F0BEAE" } }

material\copper.json
{ "id": "copper", "source": "vanilla", "localizedName": "Copper", "disableDefaultOre": true, "processedTypes": [ "ore", "plate" ], "properties": { "materialType": "metal", "harvestLevel": 1, "isEmissive": true }, "oreDrop": { "drop": "minecraft:raw_copper", "min": 1, "max": 1 } }

lang\ko_kr.json
{ "item.emendatusenigmatica.lifestone_gem": "생명석", "block.emendatusenigmatica.lifestone_ore": "생명석 광석", "emendatusenigmatica.lifestone": "생명석", "localizedname.emendatusenigmatica.lifestone": "생명석", "gui.emendatusenigmatica.lifestone": "생명석", "jade.emendatusenigmatica.lifestone": "생명석", "item.emendatusenigmatica.copper_plate": "구리 판", "block.emendatusenigmatica.copper_ore": "구리 광석", "emendatusenigmatica.copper": "구리" }

Steps to reproduce

No response

Minecraft version

1.19.2 (Latest)

Forge version

43.3.9

Emendatus Enigmatica version

2.1.x (Latest)

Other relevant versions

No response

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

No response

@citric-sulfur citric-sulfur added bug Something isn't working to be reviewed requires additional analysis labels May 29, 2024
@Ridanisaurus
Copy link
Owner

I'm not sure how Jade handles the display of these items.
Logically speaking it should be using the lang file, so it should change similarly to the tooltip display.
I'll check at some point in the near future and get back to you.

@Ridanisaurus Ridanisaurus added undergoing testing Undergoing Testing and removed to be reviewed requires additional analysis labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working undergoing testing Undergoing Testing
Projects
None yet
Development

No branches or pull requests

2 participants