Issue Details (XML | Word | Printable)

Key: MDL-9361
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Mudrak
Reporter: David Mudrak
Votes: 3
Watchers: 2
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Ability to edit language in third party modules and plugins w/o copying the language files

Created: 15/Apr/07 06:38 PM   Updated: 15/Nov/07 03:45 PM
Return to search
Component/s: Languages
Affects Version/s: 1.9, 2.0
Fix Version/s: 1.9

Issue Links:
Blockers
 
Duplicate
 
Relates

Participants: David Mudrak, Koen Roggemans and Martin Dougiamas
Security Level: None
Resolved date: 21/Aug/07
Affected Branches: MOODLE_19_STABLE, MOODLE_20_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
Third party modules and plugins have their translations in their lang subfolder. That works for activity modules since 1.7 (or was it 1.6?), and for all types of plugin in 1.8. The lang.php could be able to translate these files as well.

Is this really good solution? Maybe we could be strict and keep language files in one place... (?)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
David Mudrak committed 1 file to 'Moodle CVS' - 24/Jul/07 06:48 AM
Introducing two new functions lang_standard_locations() and lang_extra_locations() as a part of solving MDL-9361.

TODO rewrite the code to work with array returned by these functions.
MODIFY admin/lang.php   Rev. 1.99    (+73 -0 lines)
David Mudrak committed 1 file to 'Moodle CVS' - 21/Aug/07 11:17 PM
MDL-9361 lang.php is now able to edit language in third party modules and plugins.
MODIFY admin/lang.php   Rev. 1.104    (+237 -57 lines)