pawankct91
(pawan kumar)
August 13, 2020, 12:05pm
1
Hello All,
I am facing issue, the language has been selected german ‘de’ but in content section it is being overridden with english translation files
However, it comes correct in content tree section, Please see the below screen shot
Below NodeType Screen shot.
Hello @pawankct91 ,
great that you use neos.
When I see your screenshot I see that everything is in english. So I am a bit confused.
Would be nice if you can give us a bit more information
pawankct91
(pawan kumar)
August 13, 2020, 3:13pm
3
Thanks for quick response.
Well, I defined new NodeType called TestModul where i want it to support multi languages
Below is the snippet of NodeType
‘My.Template:TestModul’:
superTypes:
‘Neos.Neos:Content’: true
ui:
label: ‘i18n’
icon: car
inspector:
groups:
myHeader:
label: ‘i18n’
Created both de and en translation files
en file code
But When I change the language from below drop down.
SO while choosing the de or en language it always fetch the data from en files, not sure why.
Please see my below settings file code for reference
Ah now I understand the issue
With the dropdown you change the frontend website dimension to german, english or what ever.
But the create dialog is a component of the backend ui. So what you want is to change the backend ui language.
You can do this in the user module.
So the language label you configure is for making the backend language available for others.
For instance when you have german editors or frensh editors.
The dimensions you are configured are for the nodes that are rendered in the frontend end.
So you go to the user managment module and choose your user.
And there you can chnage the backend language to german for instance.
Save that and go back to the content module.
Then the create dialog should show the german label
sebobo
(Sebastian Helzle)
August 14, 2020, 6:09am
5
You should also look again at how xlf files are defined and the source and target properties of the file and the individual labels: https://flowframework.readthedocs.io/en/stable/TheDefinitiveGuide/PartIII/Internationalization.html#xliff-file-creation
Currently you have mixed that up a bit.
Also you can set the default backend language for all new users via the Settings.yaml: https://docs.neos.io/cms/manual/content-repository/nodetype-translations#backend-default-language
pawankct91
(pawan kumar)
August 14, 2020, 11:22am
6
Big Thanks,
Now I got the idea, I had the wrong understanding over translation.
Thanks again.
1 Like
pawankct91
(pawan kumar)
August 14, 2020, 11:23am
7
Thanks for the response
yes,Now I had the idea on that.