Support other languages in Dashboard
Hello,
Would be great if the dash board could be display in others langages.
Thanks.
Yep, it would be awesome. There are two sub-tasks:
- Extract resources.
- Think about localization options.
I'll be glad to accept a pull request that implement this, after discussing localization approaches (under item 2).
Does anybody want to do this?
I'm interested in doing point 1. Can I start with it? Also I think we need a third point here: Ability of setting the language. Should it be autodetected by browserlanguage or can the user set it manually?
I think we should not reinvent the wheel here and use regular resource files to store translations and use regular .NET methods to retrieve the localized strings that use CultureInfo.CurrentUICulture. The main point is how to deliver the resource strings – use additional NuGet packages for satellite assemblies or store translations in one NuGet package.
Any movement on this issue? I've done a couple of translations before and contribute with swedish. I'm gravitating towards the single package approach as described on nuget.org.
I can help on translating to Portuguese as well.
I created a PR with this feature, please let me know what do you think...
Looks good and as soon it gets approved by @odinserj I'll start translating to pt-BR.
I can work on the spanish translation also when accepted.
@odinserj please tell me as soon as you get it accepted.
I've just merged the PR by @Elph. So nothing prevents us from adding translations :tada: We can start from embedding localized resources into Hangfire itself without spawning additional NuGet packages due to the simplicity of this approach.