how to get the new gmo when i change the po file

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

how to get the new gmo when i change the po file

Postby Jeremiah » 04 May 2010 09:10

hi, all.

the Makefile tell me that

Code: Select all

# Copy the locales mkdir -p $(win32_destdir)/locale cat $(top_srcdir)/po/LINGUAS | while read i; do \ mkdir -p "$(win32_destdir)/locale/$${i}/LC_MESSAGES" ; \ cp "$(srcdir)/po/$${i}.gmo" \ "$(win32_destdir)/locale/$${i}/LC_MESSAGES/vlc.mo" \ || true ; \ done
so, the vlc.mo in the locale directory is a copy of gmo of src dir.

how do i get the new gmo file when i change it's po file?

Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Re: how to get the new gmo when i change the po file

Postby Jeremiah » 04 May 2010 12:24

got it:

Code: Select all

/usr/bin/msgfmt -c --statistics -o zh_CN.gmo zh_CN.po


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 130 guests