Clarity Posted May 19, 2022 Posted May 19, 2022 Hello everyone! I had an error related to "C" locale which told me to translate "C" locale settings. Where can I find this "C" locale in admin for translating it? I can't find it anywhere.
3fingers Posted May 19, 2022 Posted May 19, 2022 You can configure your locale, according to your server settings, inside site/config.php like this: setlocale(LC_ALL, 'it_IT.UTF-8'); // where 'it_IT.UTF-8' is MY locale setting. You can find a list of all locales here on Stack Overflow 2
Clarity Posted May 19, 2022 Author Posted May 19, 2022 @3fingers, thank you for your answer! Unfortunately, I have a multi-language and the locale should not be hard-coded in site/config.php. Maybe there is a way to define locale from user current settings? I've thought that I somehow need "C" for this purpose.
3fingers Posted May 19, 2022 Posted May 19, 2022 You can translate your "C" inside admin translation files, the right one is: wire--modules--languagesupport--languagesupport-module for each language you can define the setting there. More on setlocale here, if you want to set it via api: Docs 1 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now