Backoffice displaying strings from multiple locales
I am trying to localize the Umbraco backoffice for a client, but it seems no matter what I do some strings are not translated correctly. The logged in user is set to Norwegian, the default UI language in web.config is set to Norwegian.
The strings that should be used are present in /Umbraco/Config/Lang/nb.xml.
The problem may be finding the correct key to translate. For instance, the English language has five different keys with the value Content.
The Norwegian language file that came with my Umbraco 7.7.8 installation doesn't include a translation for the content key in the treeHeaders area (which is the key used for Content in your first screenshot). If you add this to your local nb.xml, it should work ;)
You can see the keys for labels in your screenshots via the links below:
Backoffice displaying strings from multiple locales
I am trying to localize the Umbraco backoffice for a client, but it seems no matter what I do some strings are not translated correctly. The logged in user is set to Norwegian, the default UI language in web.config is set to Norwegian.
The strings that should be used are present in /Umbraco/Config/Lang/nb.xml.
I am running 7.8.1.
Any ideas what I might be doing wrong here?
Hi Sigbjørn,
The problem may be finding the correct key to translate. For instance, the English language has five different keys with the value Content.
The Norwegian language file that came with my Umbraco 7.7.8 installation doesn't include a translation for the
content
key in thetreeHeaders
area (which is the key used for Content in your first screenshot). If you add this to your localnb.xml
, it should work ;)You can see the keys for labels in your screenshots via the links below:
In the
treeHeaders
areaContent ->
treeHeaders.content
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1736Document Types ->
treeHeaders.documentTypes
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1755Partial Views ->
treeHeaders.partialViews
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1759Content Templates ->
treeHeaders.contentBlueprints
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1737Users ->
treeHeaders.users
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1771In the
user
areaUser management ->
user.userManagement
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1860Invite user ->
user.inviteUser
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7.8/src/Umbraco.Web.UI/umbraco/config/lang/en.xml#L1876is working on a reply...