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

[Question] How to contribute translations? #887

Open
CJYKK opened this issue Dec 12, 2024 · 2 comments · May be fixed by #893
Open

[Question] How to contribute translations? #887

CJYKK opened this issue Dec 12, 2024 · 2 comments · May be fixed by #893

Comments

@CJYKK
Copy link

CJYKK commented Dec 12, 2024

I only found the i18n file in src/main/resources/i18n/CSVEditorResources.properties. I want to translate it to Simplified Chinese, how can I change the file name? To CSVEditorResources_zh_cn.properties?

@SeeSharpSoft
Copy link
Owner

@CJYKK That's great - a translation is more than welcome! I just started the localization efforts, therefore v4.0.1 did use the newly provided resource bundle but didn't acknowledge the IDE language. In the upcoming v4.0.2 I extended the localization and did integrate with the IDE resource bundle handling. Please note the path change (i18n -> localization) of the localization resources.

To add a localization, a properly named .properties file must be added in the localization directory. I prepared a feature branch that adds the required zh_CN files (partly/exemplary), and I appended zh_CN to each localized text to show the difference in the IDE (commit).

Please note that there are still hard-coded English text and titles, I didn't take the time to do a full scan of translatable texts in the plugin.

PS: You can find more information about plugin bundled localization here.

@CJYKK
Copy link
Author

CJYKK commented Jan 1, 2025

@SeeSharpSoft Thanks for your patient reply, the new branch really helps!
I've created PR #893, is that correct?

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

Successfully merging a pull request may close this issue.

2 participants