Hi, i tried some time to change my dashbord language to fench but i see no change.
i put the fr.php in directory /custom/i18n/fr.php or /config/custom/i18n/fr.php
i put i18n : fr in the config file
what is all step to make the change ?
thank you
Hi, i tried some time to change my dashbord language to fench but i see no change.
i put the fr.php in directory /custom/i18n/fr.php or /config/custom/i18n/fr.php
i put i18n : fr in the config file
what is all step to make the change ?
thank you
The custom dir was in the very old legacy branch and the info on https://github.com/COCOPi/cockpit-i18n is outdated. There is a new repo GitHub - agentejo/cockpit-i18n instead - without language files - may be updated in the future…
Steps to translate:
path/to/cockpit/config/cockpit/i18n/fr.phpconfig.yaml:i18n : fr     # set default/backend lang to French
languages:    # optional: make entries multilingual, "fr" is default now
  en: English
  de: Deutsch