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 2022-07-01 14:43:04

khvalera
Member
Registered: 2022-07-01
Posts: 23

Translation into Ukrainian

I faced a problem in the Ukrainian language. Most of the translated context is not displayed in Ukrainian. In Glpi/Locales/uk_ua.mo, the translation is awarded, but in the web integrated, translated words are displayed in English. How can I fix it?

Offline

#2 2023-03-08 18:14:46

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

I return to the problem of translation. Most of the translated values on transifex are displayed in English. What could be the problem?

Offline

#3 2023-03-08 18:23:02

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

Actions like console cache:clear do not solve the problem, only certain words are not translated.

Offline

#4 2023-03-08 21:30:28

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,419
Website

Re: Translation into Ukrainian

Which version of GLPI are you using?


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#5 2023-03-08 22:34:42

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

Now GLPI is 10.0.6. But this problem has been observed from the very beginning, I started using GLPI 9 and this problem was already there.

Offline

#6 2023-03-08 22:53:59

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

4e7ae4034b62451aa727e68b9caf5764.png
ef19917c853d99002e3b11add0622979.png

Offline

#7 2023-03-09 00:39:57

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

Looks like a glitch in transifex, loading a file like this:
#: src/Computer.php:83 src/Profile.php:1012 src/Profile.php:2214
msgid "Computer"
msgid_plural "Computers"
msgstr[0] "Комп’ютери"

And you need:
#: src/Profile.php:1039 src/Profile.php:2206 src/Computer.php:84
msgid "Computer"
msgid_plural "Computers"
msgstr[0] "Комп’ютер"
msgstr[1] "Комп’ютери"
msgstr[2] "Комп’ютери"
msgstr[3] "Комп’ютери"

Offline

#8 2023-03-09 12:59:22

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

The problem was solved, it looks like transifex crashed and for some reason the wrong file was loaded.
To successfully update the translation in the system, you need to do the following:

cp for_use_GLPI_glpipot101_uk_UA.po /usr/share/webapps/glpi/locales/uk_UA.po
msgfmt /usr/share/webapps/glpi/locales/uk_UA.po -o /usr/share/webapps/glpi/locales/uk_UA.mo
/usr/share/webapps/glpi/bin/console cache:clear
rm -f /var/lib/glpi/_sessions/*
systemctl restart httpd

Offline

#9 2023-03-09 13:20:43

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,419
Website

Re: Translation into Ukrainian

It looks like the translations for the plural forms are missing even on Transifex. You may want to request access to translate that language on the Transifex platform to correct the issue(s).
https://explore.transifex.com/glpi/GLPI/

After you log in or sign up, you can join the project.
From the language page, you can click the 3 dots next to the "View Members" button and join the team.
https://www.transifex.com/glpi/GLPI/language/uk_UA/

Last edited by cconard96 (2023-03-09 13:20:51)


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#10 2023-07-06 13:35:50

gmiranda
Member
Registered: 2018-08-10
Posts: 12

Re: Translation into Ukrainian

Hi! I have a similar problem but in Spanih language. I have tried to traslate Tickets word, which appears on the menu. Others words I can traslate correctly with file .po. Can somebody help me please.

Thanks

Gabriela

Offline

#11 2023-07-06 16:56:51

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

Read above I described how to solve this problem

Offline

#12 2023-07-06 17:25:51

gmiranda
Member
Registered: 2018-08-10
Posts: 12

Re: Translation into Ukrainian

I tryed that solution but the word tickets that I need to traslate appears in a sub - menú, and the word tickets that appears un file .po impacts in another section (Dashboard). So I don´t know how modified this word fron php files, that I think is the possible solution.

Thanks

Offline

#13 2023-07-06 17:44:59

gmiranda
Member
Registered: 2018-08-10
Posts: 12

Re: Translation into Ukrainian

Link to download a capture screen:

https://drive.google.com/file/d/1ZzgECJ … sp=sharing

Offline

#14 2023-07-06 20:17:08

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

Re: Translation into Ukrainian

Did you change for plural?


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Offline

#15 2023-07-07 13:57:52

gmiranda
Member
Registered: 2018-08-10
Posts: 12

Re: Translation into Ukrainian

yes, I changed for plural through poedit software. I share other capture screen.

https://drive.google.com/file/d/1zyGnDX … sp=sharing

note: I don´t know how to upload file or image in this foro.

Last edited by gmiranda (2023-07-07 13:58:41)

Offline

#16 2023-07-07 14:52:15

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

Re: Translation into Ukrainian

With the Spanish language, let's get back to the actual thread - this one is about Ukrainian. https://forum.glpi-project.org/viewtopic.php?id=287492


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Offline

#17 2023-09-25 22:58:21

khvalera
Member
Registered: 2022-07-01
Posts: 23

Re: Translation into Ukrainian

I don’t know how it is for other languages, but for Ukrainian the translation is not loaded correctly on github, it is taken from transifex.com not from the GLPI 10.1 branch, but from GLPI 10.0. In this case, the translation is not complete.

Offline

Board footer

Powered by FluxBB