Forums / General / Hot can I check multilingual functionality with installer version?

Hot can I check multilingual functionality with installer version?

Author Message

Ulrich L.

Tuesday 19 October 2004 11:38:05 pm

Hi,
I'm exploring the installer version, and I'm looking for a possibility to make the "shop" working as multilanguage site. I assume the template has to provide additional buttons or something else to access this functionality?
Which steps do I have to perform to make the standard shop multilingual?
Thanks for help, Uli.

Silke Fox

Wednesday 20 October 2004 4:17:09 am

Hi Uli,

you should set up a second siteaccess for the second language.

Have a look at this:
http://ez.no/ez_publish/documentation/configuration/configuration/language_and_charset/how_to_setup_a_multilingual_site

The basic steps are:
1. Install eZ publish using the installer.
You might want to select the package "products". Choose the languages you want during setup process.
2. Setup second siteaccess.
This isn't supported by the installer, I guess.
The installer will finish with two siteaccesses, e.g. .../products and .../products_admin (for the administration interface).
To add a new siteaccess (let's call it "products_de") copy directory settings/siteaccess/products to settings/siteaccess/products_de and change the RegionalSettings in
settings/siteaccess/products_de/site.ini.append.php to your second language.
Add the new siteaccess name to settings/override/site.ini.append.php (AvailableSiteAccessList[]=products_de).
3. Fire up administration interface and translate an object/ product.
(Edit -> Tranlations -> Manage ...)
4. Clear the caches.
5. You should now be able to access your product in two languages.

Hope this helps,
silke

Ulrich L.

Friday 29 October 2004 7:59:11 am

Thank you, Silke, for your explanation.
I performed the steps as you told me.
I actually managed to type a translation at the end, however, the website does not display it. At the first glance, I'm missing a kind of language button as a part of the user frontend. Do the templates which come with the installer provide such buttons in case of a multilingual setup?
I have to admit I did not understand completely the part of the documentation you gave me by link. Perhaps there is a solution included?

Ulrich L.

Tuesday 02 November 2004 11:23:33 pm

Hi, I really need an answer to this question:
How is it possible to make a installer version (for example "shop") multilingual?
Severel explanations here did not work (I still can't see multilingual content in the user interface).
Where is a valid (!) step-by step explanation for version 3.4.2?

frank dege

Wednesday 03 November 2004 12:01:28 am

hi uli,

you have to comment out the following parts (with the '#' mark) in settings/site.ini. otherwise ez would´nt use the settings for text translations.

[RegionalSettings]
#Locale=eng-GB
#HTTPLocale=

#ContentObjectLocale=eng-GB

frank

Ulrich L.

Wednesday 03 November 2004 12:10:39 am

I did this already, but there must be still another issue.

eZ debug

Timing: Jan 18 2025 10:41:39
Script start
Timing: Jan 18 2025 10:41:39
Module start 'content'
Timing: Jan 18 2025 10:41:40
Module end 'content'
Timing: Jan 18 2025 10:41:40
Script end

Main resources:

Total runtime0.7362 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0938180.8047
Module start 'content' 0.00610.5689 769.8984547.6875
Module end 'content' 0.57500.1611 1,317.5859337.7578
Script end 0.7361  1,655.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5415210.0002
Check MTime0.00150.2035210.0001
Mysql Total
Database connection0.00100.139110.0010
Mysqli_queries0.655288.99572050.0032
Looping result0.00240.32362030.0000
Template Total0.707696.120.3538
Template load0.00180.242620.0009
Template processing0.705895.863220.3529
Template load and register function0.00040.055410.0004
states
state_id_array0.00080.110210.0008
state_identifier_array0.00100.129120.0005
Override
Cache load0.00160.2177450.0000
Sytem overhead
Fetch class attribute can translate value0.00150.206740.0004
Fetch class attribute name0.00170.236160.0003
XML
Image XML parsing0.00060.086240.0002
class_abstraction
Instantiating content class attribute0.00000.002260.0000
General
dbfile0.00150.2019210.0001
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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs