Commit 3bd1999e authored by Thomas Citharel's avatar Thomas Citharel
Browse files

Merge branch 'feature/lang' into 'develop'

lang attribute must be a valid IETF language tag

See merge request framasoft/framadate!239
parents a1fbe394 2711b3a0
......@@ -29,7 +29,7 @@ if (isset($_POST['lang']) && is_string($_POST['lang']) && in_array($_POST['lang'
/* <html lang="$locale"> */
$i18n->get('', 'Something, just to load the dictionary');
$locale = $i18n->getLoadedLang();
$locale = str_replace('_', '-', $i18n->getLoadedLang());
/* Date Format */
$date_format['txt_full'] = __('Date', 'FULL'); //summary in create_date_poll.php and removal date in choix_(date|autre).php
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment