translation overwrites original

Author Message

Erland Flaten

Thursday 12 November 2009 5:32:32 am

Have some issues related to language and translations

 

I have an article, select edit, select translate with translate from "Norsk bokmål" as option. When the article is in edit view the line under the title is like this (Norwegian text):

 

"oversetter innhold fra Norsk (Bokmål) til Norwegian (Bokmål) "

 

As far as I understand I am translating the article to the language its already in. There is one english word in the line above: "Norwegian". The two flags are Norwegian.

 

If I finish and save the translation there will be english text in the Norwegian version.

 

The other issue is about the language switcher. It works on the frontpage, but not on article level when switching from Norwegian to English. But It works switching from English to Norwegian.

 

After pressing "eng" the URL is:

http://www.vintersportsregionen.no/eng/artikler/Norwegian-Skating-Festival

 

Should be:

 

http://www.vintersportsregionen.no/eng/Norwegian-skating/artikler/Norwegian-Skating-Festival

 

Her are some settings from the ini-files the might have something to do about it.

 

override/site.ini.append.php

 

[SiteSettings]
DefaultAccess=vsp
SiteList[]=vsp
SiteList[]=site
SiteList[]=nor
SiteList[]=eng
SiteList[]=siteadmin

 

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=vsp
AvailableSiteAccessList[]=site
AvailableSiteAccessList[]=nor
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=siteadmin
MatchOrder=uri
HostMatchMapItems[]

 

[RegionalSettings]
Locale=nor-NO
ContentObjectLocale=nor-NO
SiteLanguageList[]=nor-NO
SiteLanguageList[]=eng-GB
TranslationSA[nor]=Nor
TranslationSA[eng]=Eng

 

3 site accesses.
Two languages and one for the design extension.

 

siteaccess/nor/site.ini.append.php:

 

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]=site
RelatedSiteAccessList[]=nor
RelatedSiteAccessList[]=siteadmin
ShowHiddenNodes=false

 

[DesignSettings]
SiteDesign=vsp
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

 

[RegionalSettings]
Locale=nor-NO
ContentObjectLocale=nor-NO
ShowUntranslatedObjects=disabled
SiteLanguageList[]=nor-NO
TextTranslation=enabled

 

[ContentSettings]
TranslationList=eng-UK

 

siteaccess/eng/site.ini.append.php

 

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=site
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=nor
RelatedSiteAccessList[]=siteadmin
ShowHiddenNodes=false

 

[DesignSettings]
SiteDesign=vsp
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

 

[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
TextTranslation=disabled

 

[ContentSettings]
TranslationList=nor-NO

 

The design extension.

 

siteaccess/vsp/site.ini.append.php

 

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]=vsp
RelatedSiteAccessList[]=siteadmin
ShowHiddenNodes=false

 

[DesignSettings]
SiteDesign=vsp
AdditionalSiteDesignList[]=ezwebin
AdditionalSiteDesignList[]=base

 

[RegionalSettings]
Locale=nor-NO
ContentObjectLocale=nor-NO
ShowUntranslatedObjects=enabled
SiteLanguageList[]
SiteLanguageList[]=nor-NO
SiteLanguageList[]=eng-GB
TextTranslation=enabled

 

[FileSettings]
VarDir=var/ezwebin_site

 

[ContentSettings]
TranslationList=

 

Erland Flaten
Lilllehammer, Norway

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.