Opened 23 months ago
Closed 9 months ago
#3682 closed Enhancement (fixed)
Support returning language array in language files
| Reported by: | ewinslow | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.9.0 |
| Component: | Core | Version: | 1.7 |
| Severity: | minor | Keywords: | |
| Cc: | brett@… | Difficulty: |
Description (last modified by ewinslow)
For example, instead of doing:
add_translation('en', array(...));
we simply do
return array(...);
and Elgg should already know which language to put them in based on the file name.
Just a little shortcut for the lazy amongst us, plus it is backwards compatible with the add_translation method.
Change History (2)
comment:1 Changed 13 months ago by ewinslow
- Description modified (diff)
- Milestone changed from Needs Review to Near Term Future Release
comment:2 Changed 9 months ago by ewinslow
- Milestone changed from Near Term Future Release to Elgg 1.9.0
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Fixed in [34edcf8bbb383537adc80bdcd4a629af8918b889]