Forums / Developer / Submission for different sites .. Language code problem !
Selmah Maxim
Wednesday 18 June 2003 5:49:32 am
I had create new class for users, and i have multi sites, and am wondering if ezp can get the site language and based on store it in DB, I mean if am browesing hungarian site , and submiting somthing, I wanna to store it as hu language, not en-GB !
From admin site i get all the submited data with en-GB langauge code, but the content i had submited from another langauge code, is there any way to slove this , or admin should do it manually as copy and pase content to anther language code !
I had tried with many hidden vars, but didn`t work, am trying this since version 3.0 !
thx in advnace !
Bård Farstad
Wednesday 18 June 2003 5:56:24 am
This is defined in site.ini ( ContentObjectLocale ). You need to set up a siteaccess for the translation. This is the default translation. If you need another translation you need to use the translation button in Exponential.
So you would need to set up a siteaccess for every language to support this.
E.g. ez.no/norwegian ez.no/englishez.no/german
Then if you e.g. would post a forum message for any of these languages it would be stored in the correct locale.
--bård
Documentation: http://ez.no/doc
Wednesday 18 June 2003 6:02:40 am
Ohhh .. now i get the use of [ContentObjectLocale ] ;)
thx alot !! :)