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 2014-03-13 08:05:30

shalib2
Member
Registered: 2014-01-01
Posts: 12

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???

Offline

#2 2014-03-14 10:21:57

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Renaming Asset Inventory Item

Version of glpi used ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2014-03-14 12:49:56

shalib2
Member
Registered: 2014-01-01
Posts: 12

Re: Renaming Asset Inventory Item

version0.84.4

Offline

#4 2014-03-14 19:06:55

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Renaming Asset Inventory Item

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


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#5 2014-03-15 07:17:43

shalib2
Member
Registered: 2014-01-01
Posts: 12

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).

Offline

#6 2014-03-17 05:55:46

shalib2
Member
Registered: 2014-01-01
Posts: 12

Re: Renaming Asset Inventory Item

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

Offline

#7 2014-03-17 10:21:40

mackyboy07
Member
Registered: 2014-01-23
Posts: 69

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.

Offline

#8 2014-03-20 15:33:25

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Renaming Asset Inventory Item

Have you execution rights on the file .mo modified ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#9 2014-03-21 08:31:19

mackyboy07
Member
Registered: 2014-01-23
Posts: 69

Re: Renaming Asset Inventory Item

Hi yllen,

Thanks for the reply.:)

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

execution.jpg
screencast


I'm trying to change the 'MONITOR' to 'ENVIRONMENTALS'. Is this correct?
pofile.jpg

Thank you!:)

Offline

#10 2014-11-15 23:45:26

pedrosaldanharamos
Member
Registered: 2014-11-08
Posts: 43

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!

Offline

#11 2014-11-16 18:13:50

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Renaming Asset Inventory Item

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


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#12 2015-03-10 23:16:10

jlkrenzelok
Member
Registered: 2015-03-09
Posts: 11

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!

Offline

#13 2015-03-13 15:09:08

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,273

Re: Renaming Asset Inventory Item

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


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#14 2019-03-22 19:55:29

tinchonetuy
Member
Registered: 2019-03-11
Posts: 10

Re: Renaming Asset Inventory Item

Hi, any news with this. I know the 2.7 Generic Object fix a lot of things, but, what if I want to modify assets or rename them or add labels to existing assets, cannot do that, any solution?? help! smile

Offline

Board footer

Powered by FluxBB