Rev 9309 | Rev 11469 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1838 | bpr | 1 | |
2368 | bpr | 2 | !let modu_lang=$lang |
5181 | guerimand | 3 | !let script_file=!nospace $wims_read_parm |
5180 | guerimand | 4 | !reset lang_exists |
5 | !read $(script_file).$modu_lang |
||
5239 | bpr | 6 | |
2368 | bpr | 7 | !if $lang_exists!=yes |
8 | !let modu_lang=en |
||
5180 | guerimand | 9 | !read $(script_file).$modu_lang |
2368 | bpr | 10 | !endif |
11 | !set module_language=$lang |
||
2219 | bpr | 12 | |
9309 | bpr | 13 | !set tmp=!replace internal / by _ in $module/$(script_file) |
14 | !set tmp=!nospace $tmp |
||
2219 | bpr | 15 | |
9309 | bpr | 16 | !read themes/$wims_theme/lang/$tmp.$lang |
9472 | bpr | 17 | |
18 | !if $class_theme!=$empty |
||
19 | !read themes/$class_theme/lang/$tmp.$lang |
||
20 | !endif |
||
21 | |||
22 | !if $theme_class!=$empty |
||
23 | !read themes/$theme_class/lang/$tmp.$lang |
||
24 | !endif |