We now have a single JS file which import lang vars from a standard lang file which is lang_bbcb_mg.php.
I have recoded this file in the RC so you will need to translate it again... and please pay attention at the special code at the bottom of this file since it must remain as is:
// Please do not remove this!!!
foreach ($js_lang as $k => $v)
{
$lang[$k] = $v;
}
$javascript_lang_vars = '';
foreach ($js_lang as $k => $v)
{
$javascript_lang_vars .= 'var ' . $k . ' = \'' . str_replace("'", "\'", $v) . '\';' . "\n";
}
$lang['JAVASCRIPT_LANG_VARS'] = $javascript_lang_vars;
unset($js_lang);
// JavaScript Text - END
foreach ($js_lang as $k => $v)
{
$lang[$k] = $v;
}
$javascript_lang_vars = '';
foreach ($js_lang as $k => $v)
{
$javascript_lang_vars .= 'var ' . $k . ' = \'' . str_replace("'", "\'", $v) . '\';' . "\n";
}
$lang['JAVASCRIPT_LANG_VARS'] = $javascript_lang_vars;
unset($js_lang);
// JavaScript Text - END
I strongly recommend all translator to carefully review this file and update the packages... or you could have errors in all posting forms in Icy Phoenix.