Notices


Reply
Thread Tools
Posts: 54 | Thanked: 14 times | Joined on Oct 2010
#21
Originally Posted by nicholes View Post
i have successfully changed the sound but could not understand how change text!! i have grab the file named "hildon-fm.mo" now how and what to edit in that file??(i have installed poeditor also on my pc)what do you mean by


Code:
msgunfmt hildon-fm.mo > hildon-fm.po where is hildon-fm.po file? plz xplane
i think thp means by saying ....


Originally Posted by thp View Post
As an example, use the hildon-fm.mo file (the file manager texts). Now, copy that file from the device to your computer, and use
Code:
msgunfmt hildon-fm.mo > hildon-fm.po
to 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 use
Code:
msgfmt hildon-fm.po -o hildon-fm.mo
to 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.
(i think)that files may be changed in linux(i do not know i am noob here)

"msgunfmt" is linux command(after google it looks so)

and hildon-fm.mo must be converted in hildon-fm.po

then poeditore will do the job for changing the text and compile a new .mo file to be replaced

(i may be wrong)
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#22
Originally Posted by thp View Post
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
Code:
/usr/share/locale/en_US/LC_MESSAGES
(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 use
Code:
msgunfmt hildon-fm.mo > hildon-fm.po
to 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 use
Code:
msgfmt hildon-fm.po -o hildon-fm.mo
to 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.

You might need root permissions for replacing the files on the device. Be careful!

Sounds are replaced by simply replacing the sound files in
Code:
/usr/share/sounds
or
Code:
/usr/share/sounds/maemo/stereo
Have fun, but if you break something, you got to keep the pieces

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.
i have changed file .mo to .po .. so now where to add my text in it using poedit???? there is no text saying "application successfully installed or something( i am opning .po file in poedit)
i have successfully done this by putting hildon-fm.mo file in bin folder of poedit using this code

Code:
msgunfmt hildon-fm.mo > hildon-fm.po
now i have new .po file but could not find where to add my text in it??plz help
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#23
Find the msgid, which is the description and the original text. the msgstr is the translated text, which you might substitute with your personal string.
 
Boemien's Avatar
Posts: 770 | Thanked: 558 times | Joined on Mar 2010 @ Abidjan
#24
Hi All,
No easy-to-do method has been released for this good idea yet???
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#25
Originally Posted by Boemien View Post
Hi All,
No easy-to-do method has been released for this good idea yet???

at least i would make a video tutorial for this to make it easy for everyone

keep in touch!
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos

Last edited by nicholes; 2011-09-09 at 12:38.
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#26
i made a video about the sound hacking (not how to) but you can see the sound effact! here
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#27
I have just uploaded a tutorial video about how to change the system sound here
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
nicholes's Avatar
Posts: 1,103 | Thanked: 368 times | Joined on Oct 2010 @ india, indore
#28
Hi guys another video uploaded (a tutorial) how to change the application names in the menu Click here
__________________
N900 gave me a reason to live in this cruel world

get your smooth live wallpaper today
My YouTube videos
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:07.