You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2021-12-16 16:53:07

jcovillers
Member
From: Yvelines
Registered: 2018-07-17
Posts: 38

[GLPI 10][RESOLU]9.5.5->10 "Application locales have to be compiled"

Bonsoir,

Je viens de lancer une migration en v10 depuis 9.5.5.

Message:
Application locales have to be compiled.
Run "php bin/console locales:compile" in the glpi tree to fix this.


Lorsque je lance la commande depuis le terminal
Message:
Processing ar_SA.po
sh: msgfmt: command not found

Une idée? smile

Last edited by jcovillers (2021-12-17 11:46:22)

Offline

#2 2021-12-17 11:45:07

jcovillers
Member
From: Yvelines
Registered: 2018-07-17
Posts: 38

Re: [GLPI 10][RESOLU]9.5.5->10 "Application locales have to be compiled"

Hello,

Pour ceux qui seraient dans le même cas, j'ai fait une clean install de la V10 en modifiant les paramètres de connexion à la DB dans le fichier config>config_db.php

J'ai ensuite remplacé le dossier files et les autres dossiers/fichiers perso je j'ai implémenté pour personnaliser l'interface de la V9.5.

Offline

#3 2022-03-25 16:00:34

WebGreg
Member
Registered: 2020-02-27
Posts: 740

Re: [GLPI 10][RESOLU]9.5.5->10 "Application locales have to be compiled"

Or the second solution for Ubuntu 20

sudo apt-get install gettext
cd /var/www/html/glpi
sudo php bin/console locales:compile

--
GLPI 10.0.17
GLPI-Inventory 1.4.0
Ubuntu Server 20.04 LTS

Offline

#4 2022-06-14 09:52:20

j.felix@optimium.nc
Member
Registered: 2022-06-14
Posts: 1

Re: [GLPI 10][RESOLU]9.5.5->10 "Application locales have to be compiled"

Found the culprite wink

When coming from an old GLPI version there is a file located in locales : glpi.pot that matches with the grep pattern to find if the numbers of .po and .mo files are equal.

So just rename the file to something like glpi.p_o_t

Cheers

Offline

Board footer

Powered by FluxBB