Weird labels / translations

Author Message

Guillaume Macaire

Friday 10 December 2010 3:21:58 am

Hello,

I think I'm having problems with translations on an ezpublish 4.1.3 installation. Some strings aren't correctly displayed/translated.

The problem can be seen in the admin interface, and when running cli scripts. For example :

sudo -u www-data php bin/php/ezcache.php --clear-all --purge
Purging : Cache d'affichage de contenu|, Cache Global INI, Cache INI, Cache codepage, Cache des identifiants de classes, Cache des clés de classement, Cache des alias d'URL/, Cacher de transformation des caractères, Alias d'image, Cache des templates, Cache des template block-, Cache des templates override, [Text to imege ceche], Cache RSS\, Cache de informations personnelles des utilisateurs|, [Content tree menoo (brooser ceche)], [Stete leemeeteteeons ceche]

I double-checked unix permissions, autoloads and cache but the problem is still there ...

Did you ever faced this kind of behavior. Can it be linked to a particular PHP configuration ?

Guillaume

Łukasz Serwatka

Sunday 12 December 2010 3:17:38 pm

It seems like your translation.ts file is missing translations. See eZCache::fetchList() to get overview about various source strings and it's contexts, then find them in your translation.ts file and check if translation is in place.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.0153 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.9063152.6250
Module start 'layout' 0.00560.0028 740.531339.4531
Module start 'content' 0.00840.0049 779.984489.3984
Module end 'content' 0.01330.0019 869.382830.2891
Script end 0.0153  899.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002617.1645140.0002
Check MTime0.00117.4567140.0001
Mysql Total
Database connection0.00106.578910.0010
Mysqli_queries0.002415.686630.0008
Looping result0.00000.104510.0000
Template Total0.00159.610.0015
Template load0.00085.179010.0008
Template processing0.00074.413510.0007
Override
Cache load0.00063.602810.0006
General
dbfile0.00021.615180.0000
String conversion0.00000.060840.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