56.3. Internationalization

Webmin versions 0.75 and above provide module writers with functions for generating different text and messages, depending on the language selected by the user. Each module that wishes to use this feature should have a subdirectory called lang that contains a translation file for each supported language. Each line of a translation file defines a message in that language in the format message_code=Message in this language.

Table 56.1. Keys in the Hash Passed to the Usermin_update.pl Functions
userThe login name of the new or modified user
uidThe UNIX UID of the user
gidThe UNIX GID for the user's primary group
passThe user's password, encrypted with the crypt function
plainpassThe user's password in plain text. This is only ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.