LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-16-2008, 04:37 AM   #1
mjalalynia
Member
 
Registered: Jul 2008
Posts: 48

Rep: Reputation: 15
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
 
Old 09-17-2008, 01:20 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,775

Rep: Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614Reputation: 2614
Quote:
Originally Posted by mjalalynia View Post
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?
 
Old 09-21-2008, 02:23 AM   #3
mjalalynia
Member
 
Registered: Jul 2008
Posts: 48

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
to translate or not to translate HTML rblampain General 2 07-05-2007 09:04 AM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM
translate C to MIPS kponenation Programming 1 10-01-2005 09:12 PM
please, translate to me maginotjr Slackware 6 07-08-2005 06:40 PM
Xfce4 .. Taskbar plugin DavidTempler Linux - General 2 08-20-2004 10:14 AM


All times are GMT -5. The time now is 07:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration