Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2015-10-21
16:35 • Closed ticket [3511941fff]: Add msgcat dynamic languages ability plus 9 othe... artifact: 57a5916f3e user: oehhar
2012-07-17
15:54 • Ticket [3511941fff]: 4 changes artifact: fceeb83322 user: oehhar
15:51 • Ticket [3511941fff]: 4 changes artifact: c43182fb8e user: oehhar
15:51 • Add attachment msgcat-1.4.5rc0-1.5.0.diff to ticket [3511941fffffffff|3... artifact: 3ec9019d09 user: oehhar
15:47 • Add attachment msgcat-1.5.0.tm to ticket [3511941fff] artifact: 8464bfb069 user: oehhar
15:47 • Ticket [3511941fff] Add msgcat dynamic languages ability status still Open w... artifact: 912df57ed4 user: oehhar
2012-06-23
03:42 • Ticket [3511941fff]: 1 change artifact: 002fc16c53 user: dgp
2012-03-27
22:02 • Ticket [3511941fff]: 4 changes artifact: 7e3eaba03d user: oehhar
22:02 • Add attachment msgcat.diff to ticket [3511941fff] artifact: 6e48e5318b user: oehhar
15:02 • New ticket [3511941fff] Add msgcat dynamic languages ability. artifact: 0a5cefd074 user: oehhar

Add msgcat dynamic languages ability

Closed / Out of Date3511941fffffffffffffffffffffffffffffffffCreated 15 years agoUpdated 11 years ago
Descriptionplain2012-03-27 15:02:43
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*}
oehharplain2012-03-27 22:02:45
File Added - 439566: msgcat.diff
dgp Ticket [3511941fff]: 1 change [History diff]2012-06-23 03:42:31
oehharplain2012-07-17 15:47:01
File Added - 449122: msgcat-1.5.0.tm
oehharplain2012-07-17 15:51:23
File Added - 449124: msgcat-1.4.5rc0-1.5.0.diff
oehharplain2012-07-17 15:54:20
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
oehharwiki2015-10-21 16:35:00

This was TIP 399, which is superseeded by TIP 412 [3565279], which will be in TCL 8.6.5.

Closed as outdated.

Log in (anonymous is fine) to add a comment.

Attachments: