PET::Util::Multilang |
A special multilingual implementation for HTML pages using (My)SQL. See <description> for all other info.
| PET:: | A special multilingual implementation for HTML pages using (My)SQL. |
| Functions | |
| NAME | |
| Variables | |
| $DISP | |
| $LANG | This hashref stores all text bindings. |
| Functions | |
| init | |
| _prefetchMultiSQL() | At init-time we load all language definitions to speed up access. |
| ml_genout($string) | Output general string (non-page specific). |
| ml_out($string) | Output a string (page specific). |
| _toMlString($key, $string) | Returns language equivalent of the given string. |
sub NAME
our $DISP
This hashref stores all text bindings.
our $LANG
sub init
At init-time we load all language definitions to speed up access.
sub _prefetchMultiSQL
Output general string (non-page specific).
sub ml_genout
Output a string (page specific).
sub ml_out
Returns language equivalent of the given string.
sub _toMlString