You are not logged in.
Pages: 1
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
Up
Offline
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
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
@cconard96
I know its not recommended, but do you know, which file I need t edit?
The Plugin isnt an option.
Thanks
Offline
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
Pages: 1