Could not load translation file

Author Message

Josh Luo

Sunday 28 August 2005 4:10:12 am

I created separate site en(English) and nl(Dutch) for my multilingual sites. The site en is default.

When accessing the English site(www.myname.com/index.php/en), no problem. However, when accessing the Dutch site(www.myname.com/index.php/nl), I got the following debug output:

Error: eZTSTranslator::loadTranslationFile Aug 28 2005 12:36:55
Could not load translation file: share/translations/dut-NL/translation.ts

Warning: ezi18n Aug 28 2005 12:36:55
No translation for file(translation.ts) in context(lib/template): 'The maximum nesting level of 40 has been reached. The execution is stopped to avoid infinite recursion.' with comment()

But I have a check that it actually exists for the file share/translations/dut-NL/translation.ts.

Any help will be appreciated.

Josh

Marko Žmak

Sunday 28 August 2005 6:58:03 am

Check out the file permissions for:

share/translations/dut-NL/translation.ts

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Josh Luo

Monday 29 August 2005 1:01:48 am

The file dut-NL/translation.ts has a right permission because it is the same as eng-GB/translation.ts and my English site works well.

Any other solutions?

Marko Žmak

Monday 29 August 2005 1:40:31 am

Maybe your dutch translation file is too big?

I had a similar problem, and then I tuncated the translation file and it worked.

Try one of the following:

- truncating the dutch translation file
- replacing the dutch translation file with the english translation file

and the see what happens. But before doing any of this make a BACKUP of your dutch translation file.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Josh Luo

Tuesday 30 August 2005 2:20:47 pm

Hi Marko,

Thanks for your message that gave me a little inspiration, which actived my dutch site using the steps below:

1. replacing the dutch translation file with the english translation file;
2. browsing to the home page of my dutch site, no problem, of course, it's english format;
3. replacing again that english translation file with the dutch one;
4. try to access to my dutch site, now it works, it's dutch version.

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 19 2025 02:47:43
Script start
Timing: Jan 19 2025 02:47:43
Module start 'layout'
Timing: Jan 19 2025 02:47:43
Module start 'content'
Timing: Jan 19 2025 02:47:45
Module end 'content'
Timing: Jan 19 2025 02:47:45
Script end

Main resources:

Total runtime1.1801 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.2734152.6406
Module start 'layout' 0.00640.0027 741.914139.4766
Module start 'content' 0.00911.1694 781.3906562.5313
Module end 'content' 1.17850.0015 1,343.921912.1484
Script end 1.1801  1,356.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3072160.0002
Check MTime0.00140.1176160.0001
Mysql Total
Database connection0.00090.073610.0009
Mysqli_queries1.117094.6482630.0177
Looping result0.00060.0518610.0000
Template Total1.146997.220.5734
Template load0.00230.192120.0011
Template processing1.144696.988120.5723
Template load and register function0.00020.016810.0002
states
state_id_array0.00230.195010.0023
state_identifier_array0.00110.094220.0006
Override
Cache load0.00190.1592350.0001
Sytem overhead
Fetch class attribute can translate value0.00060.048220.0003
Fetch class attribute name0.00110.092360.0002
XML
Image XML parsing0.00080.070920.0004
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00110.0966180.0001
String conversion0.00000.000740.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs