|
[
Permalink
| « Hide
]
Brian Jorgensen added a comment - 25/Aug/09 12:25 AM
First attempt at a patch for this.
Thanks to Tim's suggestion
http://moodle.org/mod/forum/discuss.php?d=130212 I'll take a look at the random glossary entry block and the glossary filter and iterate the patch. Brian Neither the random glossary entry block nor the glossary filter use the lang file strings as far as I could find.
Brian Brian - Just to raise the point here that we would need to improve the places_to_search_for_lang_strings if we want to keep glossary formats modular. I am thinking of something like:
get_string('concept','gformat_custom'); so that it would look in /mod/glossary/formats/custom/lang/en_utf8/gformat_custom.php for the string. I had a quick look at http://docs.moodle.org/en/Development:Places_to_search_for_lang_strings Peace - Anthony Hey, Anthony:
I think your idea of having individual lang files for each glossary format is consistent with what I know of the way Moodle adds extension points; my assumption with this patch is that glossary format authors would use the standard /lang/*/glossary.php file as is the current practice. The two main reasons for this were: 1. keep the patch as simple as possible If there is a preference to add format-specific lang files at this time, I could certainly look at what it would take to add this in. Thanks, Brian |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||