1

I have noticed that if I install Drupal in language other than English any config that will be imported during installation will be assigned to that language no matter what language is set in the config itself (the langcode value).

This results in a strange fact that my English config is showing up as XY language and if I enable English I can translate this config only into English, which does not make sense.

So how is Drupal 8 supposed to be installed properly when it comes to i18n?

Currently I am installing in English, and in last step of installation process I add my desired language and set it as default. But that seems like odd thing to be required in order for Drupal to work "properly".

1 Answer 1

2

It has to work like this. The alternative would be that a single-language non-English site would need to use the configuration translation to translate its configuration.

For the en langcode configuration, the installer will attempt to override it with the provided locale translations, from localize.drupal.org or local, and store the original English configurations separately, as far as I know. So, if you install in a language where you have translations, it should use them; if you don't, you have to change your configuration to the desired language.

2
  • So my solution is basically a correct approach?
    – user21641
    Commented Jan 8, 2016 at 18:06
  • Although then I have to keep the English installed as well :(
    – user21641
    Commented Jan 8, 2016 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.