• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Multilanguage CMSMS MLE version 1.1.1
PostPosted: Thu Aug 23, 2007 7:55 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
I had an old academic site with Multilanguage CMSMS MLE 1.02 of Katon and other.
I wanted upgrade to new version of official release of CMSMS and I couldn't wait 2.0 release for security concerns  :-\
It's very very "great and simple" for users but this project is dead   :'(

True than I don't like the logic (add columns to [cms_]content and [cms_]htmlblobs is a bad idea) but it's a transition until 2.0 stable  :)

Well, I have apply patch parts of CMSMS MLE 1.02 to 1.07, 1.08 and in production with 1.1 and I think that works.
Now, I have apply to 1.1.1 (SVN revision 4085) of 23 August, 19.30 UTC.

I tested, and working, directly on normal CMSMS installation (don't rename to config_lang.php in root directory)

IMPORTANT: missing install MLE part, you can't install directly a new site in a MLE version, therefore:
- is required a working site with CMSMS MLE 1.02 or
- install a new site and after you transform in MLE or
- use a working CMSMS site and transform in MLE
PLEASE read README.FIRST file in root directory for other info, sql queries for transform in MLE, ....


DIFFERENCE FROM 1.02 MLE, in bold the difference that BREAK compatibility with MLE 1.02:

- For semplicity I move logical define MLE from index.php to include.php (include.php is required in any scripts, admin too)

- Limited difference (in number and part) of files for relative simple synch with official CMSMS release

- Change language array config_lang.php to locale (no en,es but p.e. en_GB,es_MX) for finest language selection

- Selected language is define in:
 locale (overwrite locale, leave empty in config.php),
 frontend language (overwrite frontend language, leave empty in admin -> Global Settings),
 current language (in this way CMSMS load current locale language for ALL modules)

- Define a smarty compileid language dependant for avoid compiling and caching problem with a unique template for all languages

- Increment of caching at level of official release (caching of MLE 1.02 is off)

- Smarty template variable {$lang} assign to current locale language (p.e. en_US, it_IT) and {$currlang} (p.e. en, es) for use in metadata language tag

- Define a personal language file (mle/lang/en_US.php, mle/lang/it_IT.php, ...) for template use, sintax is {$mle_translation.your_key_for_translation} (see in mle/lang/ for example)

- Try to recognize user visited and display relative language (TCN plus cookie), DEFAULT LANGUAGE if not. It's the method of php site and similar to this

- Lang Icons are in /admin/images/lang and /images/lang. Check your flags if present or rename from "your_country.png" to "your_locale.png".

- Add use of additional content block (language dependant transparent)



REMEMBER:
- It's not a fork of CMSMS but un update of CMSMS MLE 1.02 (http://dev.cmsmadesimple.org/projects/multilang)
- I don't support this (lack of time) for feature and bugs
- If you don't have CMSMS MLE 1.02 and you can wait a few months, go directly to CMSMS 2.0 release

- If you want to try this then:

EDIT: follow this topic for other info
DOWNLOAD in Multilingual project


Difference files only. The difference, in source, with official release are between comments:
// Start MLE
... difference ...
// End MLE


Good luck
Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Fri Jul 03, 2009 9:15 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.1
PostPosted: Wed Aug 29, 2007 7:30 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
alby wrote:
Now, I have apply to 1.1.1 (SVN revision 4085) of 23 August, 19.30 UTC.


Ok, I update to final release of CMSMS 1.1.1
I tested in normal sites and multilingual sites and work well

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Fri Oct 05, 2007 7:26 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.1
PostPosted: Wed Aug 29, 2007 7:47 am 
Sounds great - thx.

Maybe you should ask Ted if he can add you to MLE project so you can release files there and it's available for all users (not only for readers of this topic :)).


Top
  
 
 Post subject: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Wed Sep 05, 2007 1:27 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
alby wrote:
Now, I have apply to 1.1.1 (SVN revision 4085) of 23 August, 19.30 UTC.


Ok, I update to final release of CMSMS 1.1.2

Changed from prev release:
Insert flags list in:
listcontent
editcontent
edithtmlblobs

for a quickly switch language

DOWNLOAD in Multilingual projects

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Fri Oct 05, 2007 7:34 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Fri Sep 07, 2007 4:55 pm 
I had some trouble finding a list of locale language codes, so I found a pretty exhaustive list.

Code:
Locale id           Locale name
==================================================
aa                  Afar
aa_DJ               Afar Djibouti
aa_ER               Afar Eritrea
aa_ER_SAAHO         Afar Eritrea Saaho
aa_ET               Afar Ethiopia
af                  Afrikaans
af_NA               Afrikaans Namibia
af_ZA               Afrikaans South Africa
ak                  Akan
ak_GH               Akan Ghana
am                  Amharic
am_ET               Amharic Ethiopia
ar                  Arabic
ar_AE               Arabic United Arab Emirates
ar_BH               Arabic Bahrain
ar_DZ               Arabic Algeria
ar_EG               Arabic Egypt
ar_IQ               Arabic Iraq
ar_JO               Arabic Jordan
ar_KW               Arabic Kuwait
ar_LB               Arabic Lebanon
ar_LY               Arabic Libya
ar_MA               Arabic Morocco
ar_OM               Arabic Oman
ar_QA               Arabic Qatar
ar_SA               Arabic Saudi Arabia
ar_SD               Arabic Sudan
ar_SY               Arabic Syria
ar_TN               Arabic Tunisia
ar_YE               Arabic Yemen
as                  Assamese
as_IN               Assamese India
az                  Azerbaijani
az_AZ               Azerbaijani Azerbaijan
az_Cyrl             Azerbaijani (Cyrillic)
az_Cyrl_AZ          Azerbaijani Azerbaijan (Cyrillic)
az_Latn             Azerbaijani (Latin)
az_Latn_AZ          Azerbaijani Azerbaijan (Latin)
be                  Belarusian
be_BY               Belarusian Belarus
bg                  Bulgarian
bg_BG               Bulgarian Bulgaria
bn                  Bengali
bn_BD               Bengali Bangladesh
bn_IN               Bengali India
bs                  Bosnian
bs_BA               Bosnian Bosnia and Herzegovina
byn                 Blin
byn_ER              Blin Eritrea
ca                  Catalan
ca_ES               Catalan Spain
cch                 Atsam
cch_NG              Atsam Nigeria
cs                  Czech
cs_CZ               Czech Czech Republic
cy                  Welsh
cy_GB               Welsh United Kingdom
da                  Danish
da_DK               Danish Denmark
de                  German
de_AT               German Austria
de_BE               German Belgium
de_CH               German Switzerland
de_DE               German Germany
de_LI               German Liechtenstein
de_LU               German Luxembourg
dz                  Dzongkha
dz_BT               Dzongkha Bhutan
ee                  Ewe
ee_GH               Ewe Ghana
ee_TG               Ewe Togo
el                  Greek
el_CY               Greek Cyprus
el_GR               Greek Greece
el_POLYTONI         Greek
en                  English
en_AS               English American Samoa
en_AU               English Australia
en_BE               English Belgium
en_BW               English Botswana
en_BZ               English Belize
en_CA               English Canada
en_GB               English United Kingdom
en_GU               English Guam
en_HK               English Hong Kong SAR China
en_IE               English Ireland
en_IN               English India
en_JM               English Jamaica
en_MH               English Marshall Islands
en_MP               English Northern Mariana Islands
en_MT               English Malta
en_NA               English Namibia
en_NZ               English New Zealand
en_PH               English Philippines
en_PK               English Pakistan
en_SG               English Singapore
en_TT               English Trinidad and Tobago
en_UM               English United States Minor Outlying Islands
en_US               English United States
en_US_POSIX         English United States Posix
en_VI               English U.S. Virgin Islands
en_ZA               English South Africa
en_ZW               English Zimbabwe
eo                  Esperanto
es                  Spanish
es_AR               Spanish Argentina
es_BO               Spanish Bolivia
es_CL               Spanish Chile
es_CO               Spanish Colombia
es_CR               Spanish Costa Rica
es_DO               Spanish Dominican Republic
es_EC               Spanish Ecuador
es_ES               Spanish Spain
es_GT               Spanish Guatemala
es_HN               Spanish Honduras
es_MX               Spanish Mexico
es_NI               Spanish Nicaragua
es_PA               Spanish Panama
es_PE               Spanish Peru
es_PR               Spanish Puerto Rico
es_PY               Spanish Paraguay
es_SV               Spanish El Salvador
es_US               Spanish United States
es_UY               Spanish Uruguay
es_VE               Spanish Venezuela
et                  Estonian
et_EE               Estonian Estonia
eu                  Basque
eu_ES               Basque Spain
fi                  Finnish
fi_FI               Finnish Finland
fo                  Faroese
fo_FO               Faroese Faroe Islands
fr                  French
fr_BE               French Belgium
fr_CA               French Canada
fr_CH               French Switzerland
fr_FR               French France
fr_LU               French Luxembourg
fr_MC               French Monaco
fur                 Friulian
fur_IT              Friulian Italy
ga                  Irish
ga_IE               Irish Ireland
gaa                 Ga
gaa_GH              Ga Ghana
gez                 Geez
gez_ER              Geez Eritrea
gez_ET              Geez Ethiopia
gl                  Galician
gl_ES               Galician Spain
gu                  Gujarati
gu_IN               Gujarati India
gv                  Manx
gv_GB               Manx United Kingdom
ha                  Hausa
ha_Arab             Hausa (Arabic)
ha_Arab_NG          Hausa Nigeria (Arabic)
ha_GH               Hausa Ghana
ha_Latn             Hausa (Latin)
ha_Latn_GH          Hausa Ghana (Latin)
ha_Latn_NE          Hausa Niger (Latin)
ha_Latn_NG          Hausa Nigeria (Latin)
ha_NE               Hausa Niger
ha_NG               Hausa Nigeria
haw                 Hawaiian
haw_US              Hawaiian United States
he                  Hebrew
he_IL               Hebrew Israel
hi                  Hindi
hi_IN               Hindi India
hr                  Croatian
hr_HR               Croatian Croatia
hu                  Hungarian
hu_HU               Hungarian Hungary
hy                  Armenian
hy_AM               Armenian Armenia
hy_AM_REVISED       Armenian Armenia Revised
ia                  Interlingua
id                  Indonesian
id_ID               Indonesian Indonesia
ig                  Igbo
ig_NG               Igbo Nigeria
is                  Icelandic
is_IS               Icelandic Iceland
it                  Italian
it_CH               Italian Switzerland
it_IT               Italian Italy
iu                  Inuktitut
ja                  Japanese
ja_JP               Japanese Japan
ka                  Georgian
ka_GE               Georgian Georgia
kaj                 Jju
kaj_NG              Jju Nigeria
kam                 Kamba
kam_KE              Kamba Kenya
kcg                 Tyap
kcg_NG              Tyap Nigeria
kfo                 Koro
kfo_NG              Koro Nigeria
kk                  Kazakh
kk_KZ               Kazakh Kazakhstan
kl                  Kalaallisut
kl_GL               Kalaallisut Greenland
km                  Khmer
km_KH               Khmer Cambodia
kn                  Kannada
kn_IN               Kannada India
ko                  Korean
ko_KR               Korean South Korea
kok                 Konkani
kok_IN              Konkani India
kw                  Cornish
kw_GB               Cornish United Kingdom
ln                  Lingala
ln_CD               Lingala Congo (Kinshasa)
ln_CG               Lingala Congo (Brazzaville)
lo                  Lao
lo_LA               Lao Laos
lt                  Lithuanian
lt_LT               Lithuanian Lithuania
lv                  Latvian
lv_LV               Latvian Latvia
mk                  Macedonian
mk_MK               Macedonian Macedonia
ml                  Malayalam
ml_IN               Malayalam India
mn                  Mongolian
mn_MN               Mongolian Mongolia
mr                  Marathi
mr_IN               Marathi India
ms                  Malay
ms_BN               Malay Brunei
ms_MY               Malay Malaysia
mt                  Maltese
mt_MT               Maltese Malta
nb                  Norwegian BokmÃ¥l
nb_NO               Norwegian BokmÃ¥l Norway
ne                  Nepali
ne_NP               Nepali Nepal
nl                  Dutch
nl_BE               Dutch Belgium
nl_NL               Dutch Netherlands
nn                  Norwegian Nynorsk
nn_NO               Norwegian Nynorsk Norway
nr                  South Ndebele
nr_ZA               South Ndebele South Africa
nso                 Northern Sotho
nso_ZA              Northern Sotho South Africa
ny                  Nyanja; Chichewa; Chewa
ny_MW               Nyanja; Chichewa; Chewa Malawi
om                  Oromo
om_ET               Oromo Ethiopia
om_KE               Oromo Kenya
pa                  Punjabi
pa_Arab             Punjabi (Arabic)
pa_Arab_PK          Punjabi Pakistan (Arabic)
pa_Guru             Punjabi (Gurmukhi)
pa_Guru_IN          Punjabi India (Gurmukhi)
pa_IN               Punjabi India
pa_PK               Punjabi Pakistan
pl                  Polish
pl_PL               Polish Poland
pt                  Portuguese
pt_BR               Portuguese Brazil
pt_PT               Portuguese Portugal
ro                  Romanian
ro_RO               Romanian Romania
root                Root
ru                  Russian
ru_RU               Russian Russia
ru_UA               Russian Ukraine
rw                  Kinyarwanda
rw_RW               Kinyarwanda Rwanda
sh                  Serbo-Croatian
sh_BA               Serbo-Croatian Bosnia and Herzegovina
sh_CS               Serbo-Croatian Serbia And Montenegro
sh_YU               Serbo-Croatian
sid                 Sidamo
sid_ET              Sidamo Ethiopia
sk                  Slovak
sk_SK               Slovak Slovakia
sl                  Slovenian
sl_SI               Slovenian Slovenia
so                  Somali
so_DJ               Somali Djibouti
so_ET               Somali Ethiopia
so_KE               Somali Kenya
so_SO               Somali Somalia
sq                  Albanian
sq_AL               Albanian Albania
sr                  Serbian
sr_BA               Serbian Bosnia and Herzegovina
sr_CS               Serbian Serbia And Montenegro
sr_Cyrl             Serbian (Cyrillic)
sr_Cyrl_BA          Serbian Bosnia and Herzegovina (Cyrillic)
sr_Cyrl_CS          Serbian Serbia And Montenegro (Cyrillic)
sr_Cyrl_ME          Serbian Montenegro (Cyrillic)
sr_Cyrl_RS          Serbian Serbia (Cyrillic)
sr_Cyrl_YU          Serbian (Cyrillic)
sr_Latn             Serbian (Latin)
sr_Latn_BA          Serbian Bosnia and Herzegovina (Latin)
sr_Latn_CS          Serbian Serbia And Montenegro (Latin)
sr_Latn_ME          Serbian Montenegro (Latin)
sr_Latn_RS          Serbian Serbia (Latin)
sr_Latn_YU          Serbian (Latin)
sr_ME               Serbian Montenegro
sr_RS               Serbian Serbia
sr_YU               Serbian
ss                  Swati
ss_ZA               Swati South Africa
st                  Southern Sotho
st_ZA               Southern Sotho South Africa
sv                  Swedish
sv_FI               Swedish Finland
sv_SE               Swedish Sweden
sw                  Swahili
sw_KE               Swahili Kenya
sw_TZ               Swahili Tanzania
syr                 Syriac
syr_SY              Syriac Syria
ta                  Tamil
ta_IN               Tamil India
te                  Telugu
te_IN               Telugu India
tg                  Tajik
tg_TJ               Tajik Tajikistan
th                  Thai
th_TH               Thai Thailand
ti                  Tigrinya
ti_ER               Tigrinya Eritrea
ti_ET               Tigrinya Ethiopia
tig                 Tigre
tig_ER              Tigre Eritrea
tn                  Tswana
tn_ZA               Tswana South Africa
tr                  Turkish
tr_TR               Turkish Turkey
ts                  Tsonga
ts_ZA               Tsonga South Africa
uk                  Ukrainian
uk_UA               Ukrainian Ukraine
uz                  Uzbek
uz_AF               Uzbek Afghanistan
uz_Arab             Uzbek (Arabic)
uz_Arab_AF          Uzbek Afghanistan (Arabic)
uz_Cyrl             Uzbek (Cyrillic)
uz_Cyrl_UZ          Uzbek Uzbekistan (Cyrillic)
uz_Latn             Uzbek (Latin)
uz_Latn_UZ          Uzbek Uzbekistan (Latin)
uz_UZ               Uzbek Uzbekistan
ve                  Venda
ve_ZA               Venda South Africa
vi                  Vietnamese
vi_VN               Vietnamese Vietnam
wal                 Walamo
wal_ET              Walamo Ethiopia
xh                  Xhosa
xh_ZA               Xhosa South Africa
yo                  Yoruba
yo_NG               Yoruba Nigeria
zh                  Chinese
zh_CN               Chinese China
zh_HK               Chinese Hong Kong SAR China
zh_Hans             Chinese (Simplified Han)
zh_Hans_CN          Chinese China (Simplified Han)
zh_Hans_SG          Chinese Singapore (Simplified Han)
zh_Hant             Chinese (Traditional Han)
zh_Hant_HK          Chinese Hong Kong SAR China (Traditional Han)
zh_Hant_MO          Chinese Macao SAR China (Traditional Han)
zh_Hant_TW          Chinese Taiwan (Traditional Han)
zh_MO               Chinese Macao SAR China
zh_SG               Chinese Singapore
zh_TW               Chinese Taiwan
zu                  Zulu
zu_ZA               Zulu South Africa


Top
  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Fri Sep 07, 2007 6:05 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
pixelenvy wrote:
I had some trouble finding a list of locale language codes, so I found a pretty exhaustive list.

Code:
Locale id           Locale name
==================================================
................



:)

It's important but use locale languages contained in CMSMS translations (look in admin/lang and modules/lang that you use)

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Fri Sep 07, 2007 6:12 pm 
alby wrote:
pixelenvy wrote:
I had some trouble finding a list of locale language codes, so I found a pretty exhaustive list.

Code:
Locale id           Locale name
==================================================
................



:)

It's important but use locale languages contained in CMSMS translations (look in admin/lang and modules/lang that you use)

Alby


Okay, cool.

Quick question, though. Am I limited to those languages in there?


Top
  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Fri Sep 07, 2007 6:12 pm 
Also, I am having a few issues with this:

1. Title and Menu Title are not being retained

2. And, when I view the site, I get an Error 404

Note, I am using the settings you provided.. I haven't changed anything. I'm doing, more or less, a proof-of-concept, so I just installed it, and removed .alby from config_lang.php.alby . And, that happened.

Any ideas?


Top
  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Fri Sep 07, 2007 7:47 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
pixelenvy wrote:
Quick question, though. Am I limited to those languages in there?


If you want the core/module translation (backend and frontend), you must use languages always present in distribution or you must provide all new translations for use them



pixelenvy wrote:
Also, I am having a few issues with this:

1. Title and Menu Title are not being retained
2. And, when I view the site, I get an Error 404

Note, I am using the settings you provided.. I haven't changed anything. I'm doing, more or less, a proof-of-concept, so I just installed it, and removed .alby from config_lang.php.alby . And, that happened.


Have you read README.FIRST? You must transform in MLE DB (or you must have a MLE 1.02 installed)

The distribution is a CMSMS 1.1.2 (monolingual) if you don't rename config_lang.php.alby (the MLE code isn't active).
If you rename config_lang.php.alby with config_lang.php CMSMS think you have un MLE db.

See this topic for info on sql queries

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Sat Sep 08, 2007 12:14 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Sun Sep 09, 2007 4:50 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 09, 2007 5:29 pm
Posts: 42
Hi - me again - am now moving my question to this topic as it's now become very relevant.

Now that I have mle 1.1.2 up and running, I have the same question re language toggling - how do I add a switch language toggle button to the front end - I tried your first suggestion:

English - Italiano

(edited of course to reflect the fact that I am using Welsh) It was just a stab in the dark as clearly I have now changed my method to yours and I didn't think it would work - it doesn't!

Could you help me out by providing the switch language code for this?

Forever grateful

Molte grazie!

Lynne


Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Sun Sep 09, 2007 5:32 pm 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
chipper wrote:
Hi - me again - am now moving my question to this topic as it's now become very relevant.

Now that I have mle 1.1.2 up and running, I have the same question re language toggling - how do I add a switch language toggle button to the front end - I tried your first suggestion:

English - Italiano

(edited of course to reflect the fact that I am using Welsh) It was just a stab in the dark as clearly I have now changed my method to yours and I didn't think it would work - it doesn't!

Could you help me out by providing the switch language code for this?


Very simple:  {lang}
view in plugins -> help (relative to function.lang) for other params


chipper wrote:
Molte grazie!


Thank you very much  ;D

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Top
 Profile  
 
 Post subject: [Solved] Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Sun Sep 09, 2007 7:40 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 09, 2007 5:29 pm
Posts: 42
That did it - brilliant!

A great help to me - and many others I would think

Best regards
Lynne

PS Watched a TV programme set in Italy today - it's a beautiful country you live in


Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Mon Sep 10, 2007 9:37 pm 
Offline
Forum Members
Forum Members

Joined: Thu Aug 09, 2007 5:29 pm
Posts: 42
Hi

Now that I have the multilingual version up and running successfully I'd like to be able to switch stylesheets to bring in different image backgrounds and banners for the English and Welsh vesions.

(Not sure if this should be a new topic but am asking here anyhow! Correct me if I am wrong.)

As the English and Welsh pages share the same template (well I haven't managed to see a way of assigning different templates - could be me!) how could I pull in different stylesheets for each language?

Have searched for info re stylesheet switching but haven't managed to find anything really relevant or that I could follow - the focus is often on the user changing the stylesheet on request

Is there a solution to this?

Many thanks in advance

Lynne


Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Tue Sep 11, 2007 7:30 am 
Offline
Support Guru
Support Guru
User avatar

Joined: Mon Jul 04, 2005 5:12 pm
Posts: 4821
Location: Ferrara, Italy
chipper wrote:
Now that I have the multilingual version up and running successfully I'd like to be able to switch stylesheets to bring in different image backgrounds and banners for the English and Welsh vesions.

(Not sure if this should be a new topic but am asking here anyhow! Correct me if I am wrong.)

As the English and Welsh pages share the same template (well I haven't managed to see a way of assigning different templates - could be me!) how could I pull in different stylesheets for each language?

Have searched for info re stylesheet switching but haven't managed to find anything really relevant or that I could follow - the focus is often on the user changing the stylesheet on request

Is there a solution to this?


I don't never think at this question.
Possible solutions:

- If you have class/id CSS for different language (NOT html{...}, *{...}) only:
  rename your class in this mode: StyleClassForThisTag in
  StyleClassForThisTag_en_US{...}, StyleClassForThisTag_it_IT{...}, ... with difference  of style languages

  In template call this class:
...



- With general html{...}, *{...}, ... (this solution break the simple use of CMSMS):
  create FILES stylesheet en_US.css, it_IT.css with the difference of style languages ONLY and NOT in common
  In template or in Global Settings -> Metadata (this for all templates) add this:
 

Alby

_________________
CMSMS Support Team
Italian Admin and Moderator

Plugins: Geolocate hostip, Multiple random image, Image rotator (beta), Content Pagination
Modules: ForumMadeSimple (Howto), TranslationManager
Multilingual: MLE is not CMSMS


Last edited by alby on Tue Sep 11, 2007 7:32 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Multilanguage CMSMS MLE versione 1.1.2
PostPosted: Tue Sep 11, 2007 1:36 pm 
Hi All, sorry for being daft, but I am currently using CMSMS v1.1 and I would like to convert this to the multi-lingual version.
I have tried installing it, but the install php does not do anything (it just loads a blank page).

Does anyone have a step by step idiots guide? Sorry for being a bit daft.

Thanks, Philipp


Top
  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Arvixe - A CMSMS Partner