-
Notifications
You must be signed in to change notification settings - Fork 13
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
Use translation files instead of hard-coding #5
Comments
They're not hardcoded, they're part of https://github.com/afrux/flarum-theme-base/blob/master/locale/en.yml |
That is a bit tricky from language pack perspective, because Flarum will load only translations from enabled extensions. Since It would be much easier for translators to mark |
Hmm, interesting, it makes sense that not everything is loaded from language packs, the amount of translations across so many extensions can easily become huge. That said I don't want to have that package be an extension, I imagine it'll be confusing. The best thing would be to have something in core to allow this use case, I think it's a valid one. I might be able to hack something in the code from my side to have the I created an issue in the core repository https://github.com/flarum/core/issues/3091, and if I have time I'll try implementing a temporary solution on my side. |
Looks like the UI content is currently hard coded, any plans to use translated files?
The text was updated successfully, but these errors were encountered: