Rev 2633 | Rev 9309 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1629 | bpr | 1 | !!##should allow to have only one module by language |
2 | |||
2368 | bpr | 3 | !!set class_lang=!defof class_lang in wimshome/log/classes/$wims_class/.def |
2173 | bpr | 4 | |
2368 | bpr | 5 | !let moduclass_lang=$lang |
5191 | guerimand | 6 | !! this test must be keeped for background compatibility since modification of all modules use script langclass by call langclass names.phtml instead of lang/names.phtml |
7 | !if $wims_read_parm!=names.phtml and $wims_read_parm!=$empty |
||
8 | !let script_file=!nospace $wims_read_parm |
||
9 | !else |
||
10 | !let script_file=lang/names.phtml |
||
11 | !endif |
||
12 | !reset lang_exists |
||
13 | !read $(script_file).$moduclass_lang |
||
2368 | bpr | 14 | !if $lang_exists!=yes |
15 | !let moduclass_lang=en |
||
5191 | guerimand | 16 | !read $(script_file).$moduclass_lang |
2368 | bpr | 17 | !endif |
2156 | bpr | 18 | |
2368 | bpr | 19 | !set module_language=$lang |
2123 | bpr | 20 | |
2173 | bpr | 21 | !!######## |