babble icon indicating copy to clipboard operation
babble copied to clipboard

Use HTTP_REFERER when doing an AJAX request to detect locale.

Open markoheijnen opened this issue 10 years ago • 0 comments

Currently bbl_get_default_lang_code() is getting used for AJAX requests which results in not translated AJAX calls. This PR also fixes the if statements without brackets in set_locale() function.

markoheijnen avatar Feb 18 '15 16:02 markoheijnen