I have to build a template with a language menu, which has to show the flags and text at the same time. Therefore I added a parameter to the "lang"-Tag and did some changes to the file "function.lang.php". The file and my config_lang.php are attached (remove the ending ".txt").
Otherwise thanks for the great work on CMSms MLE. I use this version now for two projects.
language menu with flags and text
language menu with flags and text
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
-
[The extension txt has been deactivated and can no longer be displayed.]
Re: language menu with flags and text
I don't understand very well this case, I see that you have:Andiministrator wrote: I have to build a template with a language menu, which has to show the flags and text at the same time. Therefore I added a parameter to the "lang"-Tag and did some changes to the file "function.lang.php". The file and my config_lang.php are attached (remove the ending ".txt").
Otherwise thanks for the great work on CMSms MLE. I use this version now for two projects.
FLAG-EN Please select your language! | FLAG-DE Bitte wählen Sie Ihre Sprache! | FLAG-NL Kies Uw taal! ......
I see better an ajaxy text rotation (with all languages) type: [lang text rotation] FLAG-EN | FLAG-DE | FLAG-NL .......
but this is a my idea ....
Alby
Re: language menu with flags and text
Sure, this would make even more sense. My case is a customer requirement, the design was already there (see attachment).
Re: language menu with flags and text
alby: pls, can You explain me the method you describes? I am a newbie to CMSMS - I have installed CMSMS MLE and now I need to show flags with their text equivalent at the same time.
Re: language menu with flags and text
alby: pls, can You explain me the method you describes? I am a newbie to CMSMS - I have installed CMSMS MLE and now I need to show flags with their text equivalent at the same time.alby wrote:I don't understand very well this case, I see that you have:Andiministrator wrote: I have to build a template with a language menu, which has to show the flags and text at the same time. Therefore I added a parameter to the "lang"-Tag and did some changes to the file "function.lang.php". The file and my config_lang.php are attached (remove the ending ".txt").
Otherwise thanks for the great work on CMSms MLE. I use this version now for two projects.
FLAG-EN Please select your language! | FLAG-DE Bitte wählen Sie Ihre Sprache! | FLAG-NL Kies Uw taal! ......
I see better an ajaxy text rotation (with all languages) type: [lang text rotation] FLAG-EN | FLAG-DE | FLAG-NL .......
but this is a my idea ....
Alby

Help me i have to setup english and greek language with my mle cmsms
Re: language menu with flags and text
- in plugins/ folder, edit function.lang.phpkotlik wrote: alby: pls, can You explain me the method you describes? I am a newbie to CMSMS - I have installed CMSMS MLE and now I need to show flags with their text equivalent at the same time.
- search this: $link = ($text)?$mle['text']:$mle['flag']; (3 statements)
- change in (for: [FLAG IMAGE] Text of language): $link = ($text)?$mle['flag'].' '.$mle['text']:$mle['flag'];
- active with {lang text=true spacer="|"}
Alby