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

[FR] Softcode hardcoded UI strings to allow for l10n #109

Open
CaiMiao opened this issue May 1, 2021 · 0 comments
Open

[FR] Softcode hardcoded UI strings to allow for l10n #109

CaiMiao opened this issue May 1, 2021 · 0 comments

Comments

@CaiMiao
Copy link

CaiMiao commented May 1, 2021

though one can't directly input utf8 chars in hardcoded strings, (must use \uXXXX which XXXX is utf16 codepoint)
loading unicode cfg with #108 changes will display correctly.

so abstract all hardcoded strings to separate cfg may be good idea to i10n this.
when such config or such entry unexists, fallback to original string.

format example:
UiString[Base Defense]: B. DEF.

i have very very limited coding skills so i will leave this request open until repo owner decides to do us a favor,
or when i have enough time to waste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant