user's language preference not loaded on login
|Reported by:||Purus||Owned by:|
I have made a french translation plugin at top of the plugin list.
When the user changes his language and login, all the site text is displayed correctly in french. But the message "You have been logged in" is not displayed in french.
The language string in French is present. But its not shown as it's loaded later.
I use the below function in my plugin's start.php file.
register_translations(dirname(FILE) . "/languages/", true);
For me this looks like a bug, as the languages should be loaded very beginning.
Change History (3)
comment:1 Changed 18 months ago by cash
- Milestone changed from Needs Review to Elgg 1.8.3
- Summary changed from System Message Untranslatted to user's language preference not loaded on login
comment:2 Changed 17 months ago by Cash Costello
- Resolution set to fixed
- Status changed from new to closed