Bug Report #1290
The new I18n system in 2.4 is broken
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Libraries | |||
| Target version: | 2.4 | |||
| Resolution: | fixed | Points: |
Description
It couldn't load any translations. A fixed class is attached!
It also requires small changes in Kohana.php
History
Updated by Jeremy Bush almost 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
- Resolution set to fixed
Fixed in r4281.
Updated by Samuel Vogel almost 3 years ago
- File I18n.php.diff added
- Status changed from Closed to Feedback
- % Done changed from 100 to 80
Sorry, my fix wasn't complete. For locale 'en_US', the 'en' and the 'US.UTF8' directories where searched. The second one should just be 'US'.
Also it would be nice to be able to get just 'en_US' without the 'UTF8' from the I18n::get_locale() function.
Patch attached!
Updated by Samuel Vogel almost 3 years ago
- File Kohana.diff added
- File I18n.diff added
I have fixed another issue which would lead to setting the locale to FALSE, when none of the user defined languages in $config['locale']['languages'] got accepted by setlocale().
Now it gets set to 'en_US' in that case!
Updated by Jeremy Bush over 2 years ago
- Status changed from Feedback to Assigned
- Assignee changed from Jeremy Bush to Chris Bandy
- Resolution deleted (
fixed) - 11 set to 2.3.4
Updated by Jeremy Bush over 2 years ago
- Assignee changed from Chris Bandy to Ben Rogers
Updated by Ben Rogers over 2 years ago
- Status changed from Assigned to Closed
- % Done changed from 80 to 100
Applied in changeset r4509.
Updated by Ben Rogers over 2 years ago
- Resolution set to fixed