Does anybody know this language translation problem?

Author Message

Dicky Leung

Thursday 30 July 2009 8:32:50 pm

I am using ezpublish ver. 4.10 and ezwebin ver 1.4. My system has two language versions, English and Chinese. English is a default language. Chinese is an additional language.

When I only insert an article as English ver, it showed both at English and Chinese public page. I checked translations pane of this article at admin page. The “Use the main language if there is no prioritized translation” does not enable.

However, I tried to in insert an article as Chinese ver, it can only show at Chinese public page.

I don't know why this problam happen, Thank you.

Ivo Lukac

Thursday 30 July 2009 11:26:22 pm

Check this settings in your settings/siteaccess/*/site.ini.append.php:
[RegionalSettings]
SiteLanguageList[]

With this setting you specify what language is shown for every siteaccess.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Mingxing Chen

Thursday 30 July 2009 11:27:17 pm

Hi Dicky,

Please let me know that's the content in site.ini.append.php in YOURSITEACCESS(may be eng, chi).

Take a look at [RegionalSettings] section:

ShowUntranslatedObjects=disabled ?

Then what about SiteLanguageList[] ?

You can read more: http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/regionalsettings/showuntranslatedobjects

Shinetech is the leader in next generation global application outsourcing. Shinetech combines world class technical skills, recognized expertise in advanced development methodologies and industry experience to deliver results for global enterprises. Shinetech utilizes distributed Agile methods for rapid and precise systems development.
------------------------------------------------------------------------------------------
Blog: http://www.mingxing.me
Email: chenmx@shinetechchina.com

Dicky Leung

Friday 31 July 2009 12:41:19 am

Thank you, it work now

Dicky Leung

Friday 31 July 2009 1:38:20 am

HI,

May i let the“Use the main language if there is no prioritized translation” does enable at each time insert article?

Ivo Lukac

Friday 31 July 2009 2:20:58 am

“Use the main language if there is no prioritized translation” overrides site.ini settings

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

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

eZ debug

Timing: Jan 18 2025 11:00:14
Script start
Timing: Jan 18 2025 11:00:14
Module start 'layout'
Timing: Jan 18 2025 11:00:14
Module start 'content'
Timing: Jan 18 2025 11:00:15
Module end 'content'
Timing: Jan 18 2025 11:00:15
Script end

Main resources:

Total runtime0.6478 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0391152.6406
Module start 'layout' 0.00520.0029 740.679739.4922
Module start 'content' 0.00810.6381 780.1719606.4844
Module end 'content' 0.64630.0014 1,386.656316.1250
Script end 0.6477  1,402.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5313160.0002
Check MTime0.00160.2465160.0001
Mysql Total
Database connection0.00080.126110.0008
Mysqli_queries0.583790.1112680.0086
Looping result0.00080.1177660.0000
Template Total0.615995.120.3079
Template load0.00190.289420.0009
Template processing0.614094.785320.3070
Template load and register function0.00020.034010.0002
states
state_id_array0.00140.218610.0014
state_identifier_array0.00090.140820.0005
Override
Cache load0.00160.2477290.0001
Sytem overhead
Fetch class attribute can translate value0.00110.173030.0004
Fetch class attribute name0.00200.309480.0003
XML
Image XML parsing0.00380.591930.0013
class_abstraction
Instantiating content class attribute0.00000.002990.0000
General
dbfile0.00380.5935230.0002
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs