Sunday 18 June 2006 2:48:09 pm
Hi, I'm in the process of converting all the ezpublish sites on our server to 3.8. One of the sites was misconfigured when it was set up, and the language code of all the content is eng-GB even though the site is really in German. I only realised because when I migrated to 3.8 and added the new language settings: SiteLanguageList[]=ger-DE
ShowUntranslatedObjects=disabled
...most of the content dissapeared. Changing the setting to ShowUntranslatedObjects=enabled has provided a 'fix', but the underlying issue is still there. I did some searching in the database and found 'eng-GB' in the following locations:
ezcontent_language (1)
ezcontentobject_attribute.language_code (1730)
ezcontentobject_name.content_translation / .real_translation (368)
ezimagefile.filepath (317) ezsession(30) I also found some info on changing the database before installation here: http://ez.no/doc/ez_publish/technical_manual/3_7/installation/manual_installation/manual_configuration_of_ez_publish ...but that is specific to 3.7, and even with the comments there I'm not sure exactly how to go about making the changes I'm after. Also, I'm confused by what effect using sql to change the languages would have on the image file paths. Could someone who knows the internals of the new multilingual system (and mysql!) better than I do provide any guidance? All I want to do is convert this uni-lingual 'english' site (where the content is german) into a unilingual ger-DE site throughout. I could downgrade back to 3.7 quite easily if that would make it any easier.
Thanks Matthew
http://carroll.org.uk
|