Forums / Install & configuration / Problem with OE russification Pls help!

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

eZ debug

Timing: Jan 18 2025 11:01:31
Script start
Timing: Jan 18 2025 11:01:31
Module start 'content'
Timing: Jan 18 2025 11:01:32
Module end 'content'
Timing: Jan 18 2025 11:01:33
Script end

Main resources:

Total runtime1.1712 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.9688180.8203
Module start 'content' 0.00731.0398 769.7891679.0938
Module end 'content' 1.04710.1240 1,448.8828341.0469
Script end 1.1711  1,789.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.3651210.0002
Check MTime0.00160.1333210.0001
Mysql Total
Database connection0.00060.052110.0006
Mysqli_queries1.071591.49012100.0051
Looping result0.00270.23452080.0000
Template Total1.134896.920.5674
Template load0.00200.174320.0010
Template processing1.132896.720320.5664
Template load and register function0.00020.013310.0002
states
state_id_array0.00210.181110.0021
state_identifier_array0.00180.152920.0009
Override
Cache load0.00190.1647760.0000
Sytem overhead
Fetch class attribute can translate value0.00270.231550.0005
Fetch class attribute name0.00130.113290.0001
XML
Image XML parsing0.00160.138550.0003
class_abstraction
Instantiating content class attribute0.00000.0020110.0000
General
dbfile0.00470.4053310.0002
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
14content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 47
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs