Generating .po files with poEdit Topic is solved

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
MISIIM
Earned a small fee
Earned a small fee
Posts: 11
Joined: Sat Oct 20, 2007 7:12 pm

Generating .po files with poEdit

Post by MISIIM »

Can someone tell me how to generate a .po file with poEdit. I can't find anywhere that says how to do this. Thanks.
benedicte
wxWorld Domination!
wxWorld Domination!
Posts: 1409
Joined: Wed Jan 19, 2005 3:44 pm
Location: Paris, France

Post by benedicte »

You don't generate a .po file WITH poEdit. You first generate a .po file with xgettext, then use poEdit (or any other text editor) to translate the strings to localize.

You can do a quick search in this forum with the following terms:
xgettext
i18n (stands for internationalization)
wxLocale
poEdit

Moreover, there must be a sample for localization in wxWidgets samples directory (its name is i18n).

Regards,
Bénédicte
User avatar
T-Rex
Moderator
Moderator
Posts: 1249
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

In fact there IS a way to generate .po file with poEdit. See attachment.
You have to use File -> New catalog menu
Attachments
Create po file with poEdit
Create po file with poEdit
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

You didn't state your platform.

This document explains it well for at least mac and linux : http://wiki.wxwidgets.org/Internationalization
morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China

Post by morya »

I made a video about this.
Please have a look at it.
( It's based on windows xp Chinese simplified, vc2005)
Attachments
internat.7z
Internationalization
(439 KiB) Downloaded 223 times
Last edited by morya on Sun Nov 09, 2008 3:48 am, edited 1 time in total.
MISIIM
Earned a small fee
Earned a small fee
Posts: 11
Joined: Sat Oct 20, 2007 7:12 pm

Post by MISIIM »

Thanks everybody. That video is really good, btw.
User avatar
T-Rex
Moderator
Moderator
Posts: 1249
Joined: Sat Oct 23, 2004 9:58 am
Location: Zaporizhzhya, Ukraine
Contact:

Post by T-Rex »

2morya
Can I upload your video to wxWidgets.info?
morya
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Dec 14, 2007 2:29 am
Location: Xuzhou, China

Post by morya »

To T-Rex,
No problem, go ahead..
Post Reply