Skip to content

Commit

Permalink
Try to bypass gettext cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wincelau committed Sep 25, 2023
1 parent ee128f3 commit 94145c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
changeLanguage($_COOKIE['LANGUAGE'], $f3);
}

bindtextdomain('application', $f3->get('ROOT')."/locale/");
bindtextdomain('application', $f3->get('ROOT')."/locale/nocache");
bindtextdomain('application', $f3->get('ROOT')."/locale");
textdomain('application');

function changeLanguage($lang, $f3) {
Expand Down
1 change: 1 addition & 0 deletions locale/nocache

0 comments on commit 94145c8

Please sign in to comment.