U4-10356 - Update default Config/Lang after each update

Created by DLi 25 Aug 2017, 08:06:29 Updated by DLi 25 Aug 2017, 14:52:49

What did you do? The default Lang file (en.xml) is used in the back-office welcome screen (greetings, username, pwd, etc.). After each Umbraco Cloud update, we have to translate it in french language for the user first connection, (the user language setting is applied once logged in).

What did you expect to happen? Our clients should be welcomed in their native language.

What actually happened? The back-office welcome screen is always in english for the first connection.

What version of Umbraco are you using? 7.6.5 (cloud)

Comments

Sebastiaan Janssen 25 Aug 2017, 08:11:41

Which part do you need to translate?

This file? https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI/umbraco/config/lang/fr.xml


DLi 25 Aug 2017, 08:16:57

Hi Sebastiaan. I'm talking about en.xml that is used for the '''first''' user connection.


Sebastiaan Janssen 25 Aug 2017, 14:16:44

Got it! In web.config you can set the umbracoDefaultUILanguage in the appSettings in your web.config. This is currently unfortunately not used for the login screen, however, I've just fixed that for the next version. So make sure to set that to fr-FR now and when you get upgraded next, it will use the fr.xml file for the login screen.

The related commit: https://github.com/umbraco/Umbraco-CMS/commit/9917fb20cafda619d54fc6be067c1a1b07fe7b48


DLi 25 Aug 2017, 14:52:49

Great. Thanks.


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty:

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 7.6.6

Sprint: Sprint 66

Story Points:

Cycle: