Problem with OE russification Pls help!

Author Message

Genri Moshkovich

Tuesday 22 August 2006 4:44:03 am

Hi,

I've made a localization for OE, rus-RU using a base template found in "untranslated\translation.ts". So I changed it into my russian language and inserted into "translations\rus-RU". In "translation.ts" I also changed the type of the block from "unfinished". I cleaned cache, but my OE is still english.
The ezhtml extension is activated also in verride/site.ini.append.php:

[ExtensionSettings]
ActiveExtensions[]=ezdhtml

[RegionalSettings]
TranslationExtensions[]=ezdhtml

Best regards, Genri

Best regards,
Genri Moshkovich

Claudia Kosny

Tuesday 22 August 2006 8:38:38 am

Hello Genri

Have you enabled translation is your site.ini?
In the block RegionalSettings you you have to specify that your locale is russian and then you have to enable translation by setting
TextTranslation=enabled

More information here:
http://ez.no/doc/ez_publish/technical_manual/3_8/features/multi_language/configuring_your_site_locale
and here
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/regionalsettings

The ezdhtml extension has actually nothing to do with translation, as far as I know it is the HTML editor.

Greetings from Luxembourg

Claudia

Genri Moshkovich

Wednesday 30 August 2006 5:07:37 am

Thank you Claudia for tying to help.

In my site I use only one language - russian, but I still enabled translation my site.ini looks like:
.......
[RegionalSettings]
Locale=rus-RU
ContentObjectLocale=rus-RU
ShowUntranslatedObjects=enabled
SiteLanguageList[]=rus-RU
TextTranslation=enabled
........

I've discovered a new problem in my site, maybe it's the reason why my translation doesn't work. My Ez doesn't support TranslationExtensions, I tried to you another translation called
mytranslation, so I added such test to my site.ini->RegionalSettings block.
TranslationExtensions[]=mytranslation
I also made a folder called extension/mytranslation/translations/Rus-RU, where I made translation.ts file with my translations. But as I see my EZ doesn't want to work with translations, any...

May be you, or somebody Know what's the problem?

Best regards,
Genri Moshkovich

Claudia Kosny

Wednesday 30 August 2006 1:32:30 pm

Hello Genri,

I don't know the reason for your problem so I need some more information:
Just to make sure I understand you right - your site appears fine in Russian, both the admin and the user site. Just the html editor still appears in English, even though you have provided a Russian translation und put it in the right place.
You have enabled text translation in either the site.ini.append.php in the override folder or in all site.ini.append.phps in your siteacess folders.

If the above is not the case please tell me.

Now my questions:
If you enable debug output - do you see any messages regarding missing translations there?
If you change the regional settings of your site access e.g. to fre-FR or eng-US - does that work? Does the htmleditor use one of these languages?

If you are good in PHP, also have a look at the function loadTranslationFile in the file
\lib\ezi18n\classes\eztstranslator.php. Place some strategic debug messages there so you cann see what files ESZ is trying to load (don't forget to clear the cache as otherwise you will only get cached results).

Also please tell me the version of EZ and PHP you have.

Greetings from Luxembourg

Claudia

Siniša Šehović

Friday 10 November 2006 12:12:48 am

Hi Claudia

I have the same problem with croatian translation of OE.

eZ is 3.8.4 and OE 4.1.5

All settings are set as you mentioned.

What could be wrong?

I must say that OE 4.1.3 does not have this problem.

Best regards,
Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

Mariusz Scisel

Saturday 12 May 2007 5:06:05 pm

I've discovered a new problem in my site, maybe it's the reason why my translation doesn't work. My Ez doesn't support TranslationExtensions, I tried to you another translation called 
mytranslation, so I added such test to my site.ini->RegionalSettings block.
TranslationExtensions[]=mytranslation
I also made a folder called extension/mytranslation/translations/Rus-RU, where I made translation.ts file with my translations. But as I see my EZ doesn't want to work with translations, any...

I have exactly the same problem with polish translation instaled as extension and included in extension/mytranslation/trnslations/pol-PL/...
When file translation.ts is placed in folder extension/ezwebin/translations/pol-PL/, extension "mytranslation" doesn't work. But if I delete folder pol-PL -> extensions/ezwebi/translation/pol-PL/ with the ezwebin polish translation, extension mytranslation works fine, but there is no translatrion for other parts of Website.

ezPublish 3.9.2 (upgrade from 3.9.1)
Website Interface 1.2

Have You any ideas or solutions for this ? Is this some kind of bug?

Genri Moshkovich

Sunday 13 May 2007 3:35:50 am

Yes I've decided this problem on my site. But the problem was in using a coding.
When you create a translation you must use <b>utf-8 coding</b> for your translation otherwys it won't work, but will cause a lot of problems.

Best regards,
Genri Moshkovich

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 31 2025 01:16:17
Script start
Timing: Jan 31 2025 01:16:17
Module start 'layout'
Timing: Jan 31 2025 01:16:17
Module start 'content'
Timing: Jan 31 2025 01:16:17
Module end 'content'
Timing: Jan 31 2025 01:16:17
Script end

Main resources:

Total runtime0.0262 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2734151.2266
Module start 'layout' 0.00470.0041 739.5000220.7188
Module start 'content' 0.00880.0159 960.21881,005.9922
Module end 'content' 0.02470.0014 1,966.210941.9922
Script end 0.0261  2,008.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002810.7440140.0002
Check MTime0.00124.5729140.0001
Mysql Total
Database connection0.00083.039510.0008
Mysqli_queries0.00238.634430.0008
Looping result0.00000.050110.0000
Template Total0.00114.110.0011
Template load0.00083.120610.0008
Template processing0.00020.921710.0002
Override
Cache load0.00062.179810.0006
General
dbfile0.004216.101080.0005
String conversion0.00000.026440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs