1

Topic: Renaming Asset Inventory Item

I have tested GLPI throughly and its found to be a useful one for our organization.I need some changes  in the asset item types, that means i need to rename some items and add some additional items. For that i have installed generic object management plugin but its not meeting my requirements. The items added in generic object management not showing in global search and in reports. so now i am planning to rename the existing asset items. Is there any way to rename???

2

Re: Renaming Asset Inventory Item

Version of glpi used ?

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

3

Re: Renaming Asset Inventory Item

version0.84.4

4

Re: Renaming Asset Inventory Item

You must change de traduction in /locale/*.po and regenerate the *.mo file corresponding

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

5

Re: Renaming Asset Inventory Item

i have replaced Device with Projector in en_GB.po file inside /locale/ with "poedit" using the documentation http://doc.osclass.org/Translating_and_ … and_.mo%29. After saving the file under Asset menu i cant find any Device(original) or Projector( replaced word).

6

Re: Renaming Asset Inventory Item

i have renamed it in two forms and its done!..

7

Re: Renaming Asset Inventory Item

Hi shalib2,

What do you mean you renamed it in two forms? I tried renaming the 'Monitor' in en_US.po but nothing happened.

Thanks.

8

Re: Renaming Asset Inventory Item

Have you execution rights on the file .mo modified ?

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

9

Re: Renaming Asset Inventory Item

Hi yllen,

Thanks for the reply.:)

Yup I've changed the rights of .mo. to 

http://s2.postimg.org/c5gkvt67t/execution.jpg
screencast


I'm trying to change the 'MONITOR' to 'ENVIRONMENTALS'. Is this correct?
http://s1.postimg.org/6mcsqzo3f/pofile.jpg

Thank you!:)

10

Re: Renaming Asset Inventory Item

I had this problem also. Modified the word in Poedit, generated both .po and .mo outside /locales, replaced the files in /locales but nothing happened.
Any thoughts?
Thanks!

11

Re: Renaming Asset Inventory Item

Monitor has 2 traductions: 1 for singular and 1 for plural. Have you changed both?

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

12

Re: Renaming Asset Inventory Item

Thanks for the conversation above- it's what I was looking for.

That being said, I do not really know how to use poedit- could you tell me how one enters the plural version of a word?  I tried entering the replacement term in the translation tab labeled "One" and the plural version in the one labeled "Other," and they both showed up in the saved .po file.  But after restarting my server, the displayed word did not change.   I assume this is due to a lack of understanding on my part.

Any help would be appreciated!

13

Re: Renaming Asset Inventory Item

Change .po file is not enough. You must regenerate .mo file

Prod : RHEL 4.6/5.4 - php 5.1.6/5.2.13 + APC + memcached - MySQL 5.0.45 - OCS 1.01 - GLPI 0.83.8 svn  (>130 000 PMF - 334 entités)
Dev : Fedora 14 - PHP 5.4.12 - .GLPI 0.84 SVN - GLPI 0.85 SVN
Certifiée ITIL (ITV2F, ITILF, ITILOSA)