![]() |
2011-02-07
, 13:19
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#11
|
![]() |
2011-02-07
, 13:35
|
|
Posts: 1,391 |
Thanked: 4,272 times |
Joined on Sep 2007
@ Vienna, Austria
|
#12
|
![]() |
2011-02-07
, 15:43
|
Posts: 54 |
Thanked: 14 times |
Joined on Oct 2010
|
#13
|
I've created a small package for the scripts - you can get the package here: stringmodding-scripts_0.0.2_all.deb
stringmodding-search and stringmodding-replace is what you want to use. Call them without parameters to see the usage information. The package "stringmodding-scripts" has been uploaded to Extras-Devel.
You still need to copy the output file (saved in the current directory) into /usr/share/locale - for this you need root rights.
![]() |
2011-02-07
, 17:20
|
|
Posts: 770 |
Thanked: 558 times |
Joined on Mar 2010
@ Abidjan
|
#14
|
i could not install "stringmodding-scripts" (if it is opreted from xterminal i think it will be be almost imposible for me to use it)
sudo gainroot cd MyDocs dpkg --force-depends-i stringmodding-scripts_0.0.2_all.deb
![]() |
2011-02-07
, 17:50
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#15
|
![]() |
2011-02-07
, 21:21
|
|
Posts: 109 |
Thanked: 20 times |
Joined on May 2010
|
#16
|
![]() |
2011-02-07
, 21:43
|
|
Posts: 1,187 |
Thanked: 816 times |
Joined on Apr 2010
@ Australia
|
#17
|
![]() |
2011-02-08
, 03:16
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#18
|
You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and useCode:/usr/share/locale/en_US/LC_MESSAGESto convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and useCode:msgunfmt hildon-fm.mo > hildon-fm.poto compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.Code:msgfmt hildon-fm.po -o hildon-fm.mo
You might need root permissions for replacing the files on the device. Be careful!
Sounds are replaced by simply replacing the sound files inorCode:/usr/share/soundsHave fun, but if you break something, you got to keep the piecesCode:/usr/share/sounds/maemo/stereo
Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.
msgunfmt hildon-fm.mo > hildon-fm.po
![]() |
2011-02-08
, 15:08
|
|
Posts: 1,103 |
Thanked: 368 times |
Joined on Oct 2010
@ india, indore
|
#20
|
You can do this already. You have to do a custom "translation" of the UIs in question. If you want to do it the quick'n'dirty way, grab the .mo files for the app you want to edit from(where en_US is replaced with the locale you have set up - for me, it's English (United States), it might be different for you). As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and useCode:/usr/share/locale/en_US/LC_MESSAGESto convert it to a plaintext gettext file. You can then open and edit this using e.g. poedit. After you are done editing, save it, and useCode:msgunfmt hildon-fm.mo > hildon-fm.poto compile the message catalog again. Now, copy the updated catalog to your device in the same folder as the old file (/usr/share/locale/en_US/LC_MESSAGES) and make sure the permissions are correct.Code:msgfmt hildon-fm.po -o hildon-fm.mo
You might need root permissions for replacing the files on the device. Be careful!
Sounds are replaced by simply replacing the sound files inorCode:/usr/share/soundsHave fun, but if you break something, you got to keep the piecesCode:/usr/share/sounds/maemo/stereo
Update: It seems like the "gettext" package is even available in Extras. With an "apt-get install gettext", you can have msgfmt and msgunfmt directly on your N900, and do everything from the X Terminal.