LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   translate a xfce4 plugin (http://www.linuxquestions.org/questions/linux-desktop-74/translate-a-xfce4-plugin-670227/)

mjalalynia 09-16-2008 04:37 AM

translate a xfce4 plugin
 
hi all
i want to translate xfce4-xkb-plugin .it didn't has po file.so i creat a po folder and files that needed .change in makefile.in and configure and make it again. now it is a xfce4-xkb-plugin.mo file in /usr/share/locale/fa/LC_MESSAGES .it didn't have any error in ./configure and make and make install. but it didn't translate yet.
can you help me?
tanks

TB0ne 09-17-2008 01:20 PM

Quote:

Originally Posted by mjalalynia (Post 3281800)
hi all
i want to translate xfce4-xkb-plugin .it didn't has po file.so i creat a po folder and files that needed .change in makefile.in and configure and make it again. now it is a xfce4-xkb-plugin.mo file in /usr/share/locale/fa/LC_MESSAGES .it didn't have any error in ./configure and make and make install. but it didn't translate yet.
can you help me?
tanks

Possibly, if you could translate your question; it makes no sense. Can you clarify? What are you trying to do? What have you actually done?

mjalalynia 09-21-2008 02:23 AM

Here's what I did:


* added AC_PROG_INTLTOOL to configure.ac;
* added po to SUBDIRS in Makefile.am;
* created a po/ dir with POTFILES.in and ChangeLog;
* creat xfce4-xkb-plugin.pot
* copied xfce4-xkb-plugin.pot to fa.po and translated
the messages;
* ran make && su -c "make install";
* restarted the panel to
test the translation.

i know it shoud be a makefile.in and makefile.in.in in /po directory .so i copy makefile.in from another application and change a little it!! finally when i change /po/makefile.in and /xfce4-xkb-pluging-0.3.5/makefile.in and ... ,i could make and install it without error!! but didn't work!
The bg.mo file installed properly in
$PREFIX/share/locale/bg/LC_MESSAGES/xfce4-xkb-plugin.mo.

Unfortunately the messages remained in English, so
my question is - how can I check what went wrong and
why the translation does not load?
can you tell me what should i do step by step?i googled and find some help but there is no help about how change or create makefile.in or any file should i change or create it.
sorry i am a beginner!


All times are GMT -5. The time now is 01:50 AM.