Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0.8
-
Component/s: Filters, Forms Library, Language
-
Labels:None
-
Affected Branches:MOODLE_20_STABLE
-
Fixed Branches:MOODLE_20_STABLE
Description
Someone I work with at Liip wrote this script that does the following :
- Looks for all input fields in a form and rewrites them to be larger, with language links at the bottom, when you click on each one, you can edit the string for that language
- There's also a 'src' link that gives the source of the multi lang tags.
At the moment, it's a matter of pulling in the js source in header.html, and then the following in footer.html:
InputTransform.setLanguage('<?php echo current_language(); ?>'); InputTransform.init();
I think this would be really awesome to have in 2.0, with an option to turn it on, or off, of course, and maybe configure which languages it lets you edit.
I would advocate it being added to mforms (or whatever replaces them in 2.0)
the javascript source (still using old multilang syntax)