jorge Merchant Fra Germany Medlem siden jorge 4 jan. 2025 00:11 Hello, I have just installed Litecart via Softaculous. The installed languages are German and English. When I want to make German the shop and default language, I get the following error message: Warning: Failed setting locale de_DE.utf8,de_DE.UTF-8,german for de in ~/includes/library/lib_language.inc.php (Line 121) Another error message is: de_DE.utf8,de_DE.UTF-8,german is not a valid system locale on this machine. The website is running on a webhosting. Can I as a user change something myself, or does the provider have to do it? Jorge PS: Apart from these small teething troubles (for me) a really wonderful software script.
alins Designer Fra Turkey Medlem siden alins 4 jan. 2025 05:40 Hi Jorge. This is about you server configuration. i don't know what kind of machine you are running but there are several ways to solve this. if you have root access you can run a command and list which languages your machine has. İf german not listed that means its disabled or not installed on your machine. Generaly the machines includes it but deactivated by default. You should check the configuration file and uncomment for german languages which one includes your locale codes. After that you can generate german language for machine again. This an advanced but simple process. If you don't have Terminal access, ask for help your hosting provider.
tim Founder Fra Sweden Medlem siden tim 4 jan. 2025 09:42 I had cases where some machines only wanted to take the locale one by one instead of comma separation. Try "de_DE.utf8". On Linux you can list installed locales with the Terminal command "locale -a". This article should be helpful: https://www.litecart.net/wiki/system_locale
jorge Merchant Fra Germany Medlem siden jorge 10 jan. 2025 00:14 Hello, many thanks to @tim and @alins! My provider finally managed to install the locales file for Germany that was missing on the server yesterday. Now we can continue :-) Jorge