maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Request] modding app for n900.Make n900 absolutely different from any other device! (https://talk.maemo.org/showthread.php?t=69461)

hathoda 2011-02-08 17:23

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by nicholes (Post 939038)
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 ....


Quote:

Originally Posted by thp (Post 938078)
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 2011-02-09 12:16

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by thp (Post 938078)
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

michaaa62 2011-02-09 21:53

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
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 2011-06-23 08:13

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Hi All,
No easy-to-do method has been released for this good idea yet???

nicholes 2011-06-23 11:41

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Quote:

Originally Posted by Boemien (Post 1036848)
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!

nicholes 2011-09-09 12:42

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
i made a video about the sound hacking (not how to) but you can see the sound effact! here

nicholes 2012-02-09 14:02

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
I have just uploaded a tutorial video about how to change the system sound here

nicholes 2012-02-10 12:33

Re: [Request] modding app for n900.Make n900 absolutely different from any other device!
 
Hi guys another video uploaded (a tutorial) how to change the application names in the menu Click here


All times are GMT. The time now is 10:20.

vBulletin® Version 3.8.8