build: create and install .mo translation files
commit97db8519c8f64dc8b0163b1eff6cbe4d6fe75c11
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Sun, 28 Mar 2010 11:49:09 +0000 (28 14:49 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 1 Apr 2010 10:09:32 +0000 (1 13:09 +0300)
treea8c19ec3aee99d12ba30a6b88256e2dd3e0629ef
parentfaea4ef439b92972e01cade158ca9bff839e297b
build: create and install .mo translation files

If --enable-translation was specified to configure, build and install
.mo files for the selected message language(s). The languages enabled
can be chosen with the --language-msg option; by default all available
ones will be installed. The .po source files for available languages
are seached under the po/ subdirectory; at the moment that
subdirectory is not included in the sources so no languages will be
enabled unless you add the actual translations before running
configure.

The .mo files are created in the locale/ subdirectory when compiling.
By default MPlayer will only look for them in the installed location,
so the newly compiled .mo files will not be found if you run MPlayer
without installing. You can set the MPLAYER_LOCALEDIR environment
variable to point to the locale/ directory to test the translations
without installing.
DOCS/man/en/mplayer.1
Makefile
configure