Forums / Install & configuration / Could not load translation file

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.