Article class with charset dropdown.

Author Message

Gunnar Birkeland

Wednesday 31 October 2007 3:34:35 am

My current project demands the following functionality:

The site is running on two siteaccesses, norwegian and english where "ShowUntranslatedObjects=disabled" and the object availability for all objects on the site is turned off.

I need an article class with a selector for languages (e.g. dropdown etc.). I suppose i will use object relations as the data-type for this.

So for an article of the suggested class to exist in both siteaccesses it will have to be translated manually.

I want to be able to create an article in Norwegian, but the content of the article must be able to maintain the charsets of the chosen language. Khazakstan/Russian and Vietnamese are the most important.

Any clues to how I can achive this? Both the public and admin siteaccess must of course be able to display the charsets.

</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24

Xavier Dutoit

Wednesday 31 October 2007 5:17:19 am

unicode

Choose utf-8, it works with every language invented.

X+

http://www.sydesy.com

Gunnar Birkeland

Thursday 01 November 2007 3:12:27 pm

Thanks for the reply. This wont be an option with the server we have today, since the use of utf-8 is prohibited on our mysql-version. (waiting on a new server)

The problem has somewhat escalated:

http://ez.no/developer/forum/setup_design/xml_block_vs_text_block_regarding_languages#msg152467

</major>
----------------------------
ez-version: 3.9.3.
PHP: 4.4.2-1
MYSQL: 4.0.24

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

Main resources:

Total runtime0.0148 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.0050 588.0313152.6406
Module start 'layout' 0.00510.0024 740.671939.4609
Module start 'content' 0.00750.0053 780.132889.2266
Module end 'content' 0.01280.0020 869.359434.3047
Script end 0.0147  903.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.1893140.0002
Check MTime0.00117.6803140.0001
Mysql Total
Database connection0.00074.723810.0007
Mysqli_queries0.002315.864630.0008
Looping result0.00000.067910.0000
Template Total0.001610.610.0016
Template load0.00085.665710.0008
Template processing0.00074.851510.0007
Override
Cache load0.00064.072810.0006
General
dbfile0.00085.150380.0001
String conversion0.00000.048540.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