How to translate class name

Author Message

Jade Tremblay

Monday 15 November 2004 11:51:06 am

I am looking for a way to translate classes' name. I didn't play around with translation, my site is entirely in french so I only have one supported language. By now, I have translated all strings by updating translation.ts. I want to be able to translate classes' name AND attribute's name to allow registering, search result, etc... to be entirely in french. I would like to reuse my ezpublish installation for site that support more than one language... I think that changing the class' name under setup->advanced->class is not the best solution.

Any help welcome!

Thank

Jade Tremblay
Directeur Technologique

Perséides Technologie
www.perseidestech.net
Passez du rêve à la réalité!

Marco Zinn

Monday 15 November 2004 1:02:16 pm

Hi,
as long as you are "mono-lingual", changing the "names" of the classes and the attributes is the best way, though i don't know, if special characters, like é will work here.
But don't change the identifiers of a class or an attribute.

For multi-lingual-sites.... don't know... but i'm sure, that others, who did multi-lingual stuff, will answer ;)

Marco
http://www.hyperroad-design.com

Björn Dieding@xrow.de

Monday 15 November 2004 5:58:11 pm

I have kind of a map... so i map a class name or attribute and control it with a translation extension

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Eirik Alfstad Johansen

Thursday 20 January 2005 2:30:15 am

Hi Björn,

Would you be as kind as to elaborate on how your extension works, as we are looking to translate content classes and their attributes ourselves.

Thanks in advance !

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Lex 007

Wednesday 20 April 2005 3:11:13 am

Hello,

I would need to translate class attributes in a multi-lingual site as well. Any hint ?

Thx

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

Main resources:

Total runtime0.0150 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.0053 587.9063152.6250
Module start 'layout' 0.00530.0022 740.531339.4453
Module start 'content' 0.00750.0057 779.976693.2891
Module end 'content' 0.01320.0018 873.265638.3047
Script end 0.0150  911.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.7092140.0002
Check MTime0.00106.8291140.0001
Mysql Total
Database connection0.00085.054610.0008
Mysqli_queries0.002416.060630.0008
Looping result0.00000.058810.0000
Template Total0.00159.710.0015
Template load0.00074.766810.0007
Template processing0.00074.927410.0007
Override
Cache load0.00053.275410.0005
General
dbfile0.00117.118480.0001
String conversion0.00000.046140.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