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

How to translate Identity Core 2.1 DefaultUI to german #2073

Open
mduu opened this Issue Nov 17, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@mduu

mduu commented Nov 17, 2018

I'm trying to switch the Identity Core 2.1 Default UI to another language.

In the startup.cs I forced the app to german but the default UI still shows up in englisch:

        services.Configure<RequestLocalizationOptions>(options =>
        {
            options.DefaultRequestCulture = new RequestCulture("de-CH");
            options.SupportedCultures = new List<CultureInfo> { new CultureInfo("de-CH") };
            options.RequestCultureProviders = new List<IRequestCultureProvider>();
            options.RequestCultureProviders.Insert(0, new CustomRequestCultureProvider(
                async context => new ProviderCultureResult("de")
            ));
        });

How can I a) switch to german texts for the default UI or b) do my own german translations for the texts in the default UI?

I did research for several hours already without success. I read that one may can influence the texts like error messages with .resx files but I don't know what file with which content to put where. Further more I think there should be german translations already available as they are for the .Net since years.

I'm using Visual Studio for Mac and deploy the app to Azure AppServer on Windows. I welcome any help to get german translations for Identity Core 2.1 into place.

@blowdart

This comment has been minimized.

Member

blowdart commented Nov 19, 2018

We don't have translations for the identity UI, you have to scaffold and replace I'm afraid.

@mduu

This comment has been minimized.

mduu commented Nov 19, 2018

Oh - thats unexpected. Thanks for the clear statement so I know where to head next.
Thinking if this is something for a future feature? What do you think?

@blowdart

This comment has been minimized.

Member

blowdart commented Nov 19, 2018

Certainly sounds like a desired feature :)

@blowdart blowdart added this to the 3.0.0 milestone Nov 19, 2018

@LindaLawton

This comment has been minimized.

LindaLawton commented Nov 21, 2018

@blowdart would this be something you would be interested in tagging Help wanted or good first issue?

@blowdart

This comment has been minimized.

Member

blowdart commented Nov 25, 2018

No, for a couple of reasons,

  1. We need to wire up the internationalization pieces first.
  2. We can't take community translations, because, well, crowd sourced translations are a haven for trolls.

@blowdart blowdart added the Blocked! label Nov 29, 2018

@blowdart blowdart modified the milestones: 3.0.0, Backlog Nov 29, 2018

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