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

translations for this plugin #95

Closed
xgp opened this issue Nov 25, 2024 · 6 comments
Closed

translations for this plugin #95

xgp opened this issue Nov 25, 2024 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@xgp
Copy link
Member

xgp commented Nov 25, 2024

@xgp could you help me what's the supported way to create custom translations for this plugin in our own instance? I think I should create a messages_hu.properties and translate this file.

But where do I put this messages_hu.properties in the docker container?

Thanks,

Originally posted by @vilmosnagy in #9 (comment)

@xgp
Copy link
Member Author

xgp commented Nov 25, 2024

@vilmosnagy I don't have any experience putting it directly in the container. I've only done it 2 other ways:

  1. building a custom distribution of this extension with the messages file in the theme-resources/messages/ directory.
  2. in another extension, put it in the theme-resources/messages/ directory, and it should get picked up in the classpath and applied

Regarding 1, I'd take a PR with a hungarian translation, if you'd be willing to share it.

@xgp xgp added enhancement New feature or request help wanted Extra attention is needed labels Nov 25, 2024
@vilmosnagy
Copy link

@xgp

Regarding 1, I'd take a PR with a hungarian translation, if you'd be willing to share it.

Let me do a quick research in our company, but I think we'll open a PR soon 🙂 Thanks for the opportunity.

One question though: as we're using kc25 at this moment, would you be willing to merge this to xgp/25 and release it as a jar (eg.: 0.29.1?) I'd be willing to open 2 PRs if the strings differ in any way.

@xgp
Copy link
Member Author

xgp commented Nov 26, 2024

One question though: as we're using kc25 at this moment, would you be willing to merge this to xgp/25 and release it as a jar (eg.: 0.29.1?) I'd be willing to open 2 PRs if the strings differ in any way.

Yes.

@pnzrr pnzrr mentioned this issue Nov 26, 2024
@pnzrr
Copy link
Contributor

pnzrr commented Nov 26, 2024

Quick addition of translations

@vilmosnagy perhaps you can check the Hungarian one for accuracy?

@vilmosnagy
Copy link

LGTM

@xgp
Copy link
Member Author

xgp commented Nov 26, 2024

fixed in #96

@xgp xgp closed this as completed Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants