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 2023-02-08 10:38:21

vladosubu
Member
Registered: 2023-02-08
Posts: 4

Question about the knowledge base

Good afternoon! Tell me, please, how can I rename the "root category" in the section: Tools - Knowledge Base ?

How can I make sure that when entering the knowledge base, all categories automatically drop down ?

Offline

#2 2023-02-13 11:25:38

vladosubu
Member
Registered: 2023-02-08
Posts: 4

Re: Question about the knowledge base

Up

Offline

#3 2024-10-15 12:04:24

KEW
Member
Registered: 2024-10-15
Posts: 6

Re: Question about the knowledge base

Hello,

A few Months ago I already did this, but I forgot which File I edited. I think it was a file in the /var/www/html/glpi/ directory , but im not sure.

Can someone help me?

Thanks

Offline

#4 2024-10-15 13:06:30

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

Re: Question about the knowledge base

You cannot rename this category except by using the "Rename GLPI strings" plugin to create a custom translation. Editing GLPI files manually is not recommended.


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 2024-10-15 13:15:16

KEW
Member
Registered: 2024-10-15
Posts: 6

Re: Question about the knowledge base

@cconard96
I know its not recommended, but do you know, which file I need t edit?
The Plugin isnt an option.

Thanks

Offline

#6 2024-10-18 07:22:23

KEW
Member
Registered: 2024-10-15
Posts: 6

Re: Question about the knowledge base

Hello,
I've solved the Problem. I've edited the file "de_DE.po" under the /var/www/html/glpi/locales/ directory. Look for the entry " msgid "Root category" msgstr "Wurzelkategorie"" in line 19777. Here you have to change the entry in msgstr to the value you want. (The file de_de.po is only for the german translation, if you want to change the value in your Language you need to look for your language file in this directory.) Now you need to do some commands.

First: msgfmt –o de_DE.mo de_DE.po ( This creates the binary file, based on the .po file you've edited)

Second: cd /var/www/html/glpi/ && sudo bin/console glpi:cache:clear (This deletes your cache)

Third: sudo systemctl restart apache2 (Restarts your Webservice)

Fourth:sudo systemctl restart mysql (Restarts your Databaseservice)

Now you need to delete your Browser Cache and thats it.
If you've done it correctly, The entry changed to your value.

Last edited by KEW (2024-10-18 07:23:17)

Offline

Board footer

Powered by FluxBB