Hangfire icon indicating copy to clipboard operation
Hangfire copied to clipboard

Support other languages in Dashboard

Open bhugot opened this issue 11 years ago • 11 comments

Hello,

Would be great if the dash board could be display in others langages.

Thanks.

bhugot avatar Mar 26 '15 10:03 bhugot

Yep, it would be awesome. There are two sub-tasks:

  1. Extract resources.
  2. Think about localization options.

I'll be glad to accept a pull request that implement this, after discussing localization approaches (under item 2).

odinserj avatar Apr 13 '15 10:04 odinserj

Does anybody want to do this?

odinserj avatar Apr 18 '15 12:04 odinserj

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?

schulz3000 avatar May 16 '15 10:05 schulz3000

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.

odinserj avatar May 18 '15 14:05 odinserj

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.

sackerud avatar Jan 17 '16 20:01 sackerud

I can help on translating to Portuguese as well.

gandarez avatar Feb 12 '16 15:02 gandarez

I created a PR with this feature, please let me know what do you think...

Elph avatar Feb 20 '16 16:02 Elph

Looks good and as soon it gets approved by @odinserj I'll start translating to pt-BR.

gandarez avatar Feb 20 '16 16:02 gandarez

I can work on the spanish translation also when accepted.

Elph avatar Feb 22 '16 17:02 Elph

@odinserj please tell me as soon as you get it accepted.

gandarez avatar Feb 26 '16 17:02 gandarez

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.

odinserj avatar Feb 29 '16 11:02 odinserj