[MPlayer-dev-eng] [PATCH] Localized messages and locale in GUI

Ingo Brückl ib at wupperonline.de
Wed Feb 24 15:22:33 EET 2021


This is how I see the configuration and installation of localized messages
for the GUI. Without enable-nls there is no change. (There isn't even a
change with a single user-defined message language.)

About configure (and enable-nls):

* if language_msg=all then en is the main language
* without enable-gui there is no nls
* with nls and a missing msgfmt there is a configure error
* language_msg can be multiple languages
* if language_msg is user-defined the first language is the main one
* the help file is the main language one
* the message language (MSG_LANGS) are passed to the Makefile

About Makefile:

* help_create_po.sh (yet to write) creates a po file in help/po from the
  respective help file if either the respective help file has changed or
  the main one (en) which provides the msgids.
* install-gui-msg installs mo files for all message languages but the first
  one (which messages have been compiled in by including help_mp.h)

Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nls.patch
Type: text/x-diff
Size: 6780 bytes
Desc: not available
URL: <https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20210224/8df0496f/attachment.patch>


More information about the MPlayer-dev-eng mailing list