Page 1 of 1

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

Posted: 04 May 2010 09:10
by Jeremiah
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?

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

Posted: 04 May 2010 12:24
by Jeremiah
got it:

Code: Select all

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