Jump to content

Featured Replies

Posted

Hi everyone,

I’ve been trying to change the date format from mm dd yy to dd mm yy, but I haven’t had any luck. Normally, I’d expect this to be handled by PHP settings, but it seems that’s not the case here. I also checked the translations, but that didn’t work either.

Has anyone managed to change the date format successfully? Maybe I’m missing something obvious. Any help or pointers would be much appreciated!

Thanks in advance! 😊

  • Community Expert

Hello,

Have you looked in the translations?

Capture d'écran 2025-02-22 113039.png

Capture d'écran 2025-02-22 113044.png

  • Author

Yes i tried but seems thats not applied on all the website

  • Community Expert

You have to change several translation keys, here is how I did it:

You must put "{0#}" at the very beginning

Capture d'écran 2025-02-22 120401.png

  • Author
 

Have you tried editing your active language to set the locale? by default it would be set to United States/English

I dont see other local lang maybe its coming from this, before i was on v4 i didnt have this problem, after upgrade to v5 :

image.png

  • Community Expert
 

I dont see other local lang maybe its coming from this, before i was on v4 i didnt have this problem, after upgrade to v5 :

image.png

These would be installed on your server. Ask your hosting provider if you are unsure how to add new locales.

  • Community Expert
 

I dont see other local lang maybe its coming from this, before i was on v4 i didnt have this problem, after upgrade to v5 :

image.png

If you have a VPS you can easily install the FR-fr language with commands, by connecting via SSH.

If you have shared hosting, normally this should already be installed depending on your host

  • Author

i am on dedicated / vps, any advise how to achieve this ? How to check before ?

I didnt have this issue in v4, i'd french as local !

  • Community Expert

If you are on Linux, you can check the languages installed on your server by typing this command:

locale -a

  • Author
 

If you are on Linux, you can check the languages installed on your server by typing this command:

locale -a

My bad :/

locale -a

C.UTF-8

POSIX

en_US

en_US.iso88591

en_US.utf8

  • Community Expert

You can try to install the FR language with this command:

sudo apt install language-pack-fr -y

Info : If you get a result like "command not found" or the command does not work, it is because it is not compatible with your system and it is probably another command.

Then make sure to activate the French language with:

sudo locale-gen fr_FR.UTF-8

sudo update-locale LANG=fr_FR.UTF-8

Once done, verify the installation with locale -a

Don't hesitate to also look at your panel level, there may be parameters for that.

  • Author

Thanks a lot, i just indtalled fr :

image.png

I tried to edit lang but still see only english us and no way to add Fr :/

image.png

Very strange

image.png

Edited by Janyour

  • Author

same error :

image.png

  • Community Expert

Can you try this?

source /etc/default/locale

This command allows you to reload the parameters.

With a successful installation, you should see your installed languages in the drop-down menu

Capture d'écran 2025-02-22 154009.png

  • Author

Still nothing shwon .. pff

  • Community Expert
 

Still nothing shwon .. pff

This is strange, contact your host's support, they can probably resolve this

Recently Browsing 0

  • No registered users viewing this page.