Translation for Latvia

Author Message

Heiner Wurbs

Thursday 27 August 2009 3:36:40 am

Hello together,

I have to set up a new language for translation for "latvia".

Have anybody a clue, how to do this?

Thanks!
Heiner

Jeremy B.

Thursday 27 August 2009 4:15:03 am

Hi Heiner,

I think you can take a look at :
http://ez.no/doc/ez_publish/technical_manual/4_x/features/multi_language/configuring_your_site_locale

And especially the "Adding missing locales" paragraph.

Heiner Wurbs

Tuesday 01 September 2009 3:41:15 am

Thanks Jeremy! Helped a lot!
I created a file "lav-LV.ini" and set the following content

[RegionalSettings]
Country=Latvia
LanguageName=Latvian
InternationalLanguageName=Latvian

[Charset]
# The preferred charset
Preferred=utf-8

[HTTP]
ContentLanguage=lav-LV

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 30 2025 19:33:53
Script start
Timing: Jan 30 2025 19:33:53
Module start 'layout'
Timing: Jan 30 2025 19:33:53
Module start 'content'
Timing: Jan 30 2025 19:33:53
Module end 'content'
Timing: Jan 30 2025 19:33:53
Script end

Main resources:

Total runtime0.0256 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.1250151.2109
Module start 'layout' 0.00620.0048 739.3359220.6875
Module start 'content' 0.01100.0130 960.0234997.7891
Module end 'content' 0.02410.0015 1,957.812529.9922
Script end 0.0256  1,987.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.0010140.0002
Check MTime0.00114.2145140.0001
Mysql Total
Database connection0.00072.794510.0007
Mysqli_queries0.004517.590530.0015
Looping result0.00000.050310.0000
Template Total0.00104.110.0010
Template load0.00083.083310.0008
Template processing0.00020.960710.0002
Override
Cache load0.00052.067710.0005
General
dbfile0.00103.900580.0001
String conversion0.00000.035440.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