Browse Source

Merge pull request #3525 from jrsupplee/pull-3519

Set the language on `TAPi18n` when user selects language
Lauri Ojansivu 4 years ago
parent
commit
207893fee8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/components/users/userHeader.js

+ 1 - 0
client/components/users/userHeader.js

@@ -213,6 +213,7 @@ Template.changeLanguagePopup.events({
         'profile.language': this.tag,
       },
     });
+    TAPi18n.setLanguage(this.tag);
     event.preventDefault();
   },
 });