msgcat only load languages currently contained in the mcpreferences list.
If the current locale is changed using mclocale on runtime, the corresponding language files might not be loaded.
This patch adds the command:
msgcat::mcconfig -pattern ?patternlist?
where language files matching by a listed pattern are loaded in additional.
Example: to have an application, which may support the language english, german and french, one may use:
package require msgcat 1.5
msgcat::mcconfig -pattern {en* de* fr*}
Patch against msgcat-1.4.4.tm
Ready msgcat 1.5.0 tcl module from current 1.4.5 version
Patch against msgcat-1.4.5.tm from tcl8.5.12rc0
Within the downloads, there is:
- a full msgcat-1.5.0.tm including the win 7 changes of msgcat1.4.5 in tcl 8.5.12rc0
This file may be copied to the tcl installation to be used. The folder is <tcllib>/lib/tcl8/8.5
- an updated patch against msgcat 1.4.5 from tcl8.5.12rc0