Skip to content

Conversation

@mcrauwel
Copy link
Collaborator

@mcrauwel mcrauwel commented Feb 5, 2016

No description provided.

paulheaney and others added 30 commits August 1, 2014 14:14
nl_BE po-files in the locale/ folder.
Breadcrumbs to be done at the end.

Use

// Setting up gettext.
$locale = "nl_BE";
putenv("LANG=".$locale);
setlocale(LC_ALL, $locale);
$domain = "webpa";
bindtextdomain($domain, "/path/to/local");
bind_textdomain_codeset($domain, "UTF-8");
textdomain($domain);

in inc_global.php to test (for now).
Gettext implementation.
Configurable separation constant.
import) via the named constant APP__SEPARATION in inc_global.php.
Adds a column module_lang to the table module to be able to
define gettext language per module. A default, which is used when no
module can be found, can be set with APP__DEFAULT_LOCALE in
inc_global.php. The language can be changed for a module in the admin
section for modules (which will list all folders of locale/ as possible
languages). (It is only a quick implementation, it does not do any
extensive checks.)

The webpa2_administrator.sql file has also been modified to add a
row into the user_module table because without this row I could not
login into a new webPA installation.
Language configuration per module.
Addition of SAML support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants