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

Language API #3

Open
wyatt-herkamp opened this issue Mar 7, 2020 · 0 comments
Open

Language API #3

wyatt-herkamp opened this issue Mar 7, 2020 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@wyatt-herkamp
Copy link
Member

Is your feature request related to a problem? Please describe.
An api for having different languages.

Describe the solution you'd like
Basically you can use LangAPI#get("blocks.dirt.name") and it will return the name.
You will also need to provide in your mod resources a lang.properties with the default value for each of these. LangAPI will also need to work well with the Annotations. By having the option for using the lang.properties.

On the client side they can overide the values by going into the settings and manually translating them or selecting custom lang files.

@wyatt-herkamp wyatt-herkamp added the enhancement New feature or request label Mar 7, 2020
@wyatt-herkamp wyatt-herkamp added this to the 1.0-BETA milestone Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant