Forums / Discussions / Translating & Localizing eZ Publish using GIT

Tuesday 22 February 2011 2:53:42 am - 10 replies

» Read full tutorial

Introduction

At the end of this tutorial, you should be able to contribute to the eZ Publish Localization project using GIT. Localizing means adding new translations to eZ Publish, enhancing existing ones, and adding or enhancing locales (currencies, week days names, date formats, etc. ).

 
Author Message

Gaetano Giunta

Tuesday 22 February 2011 7:01:37 am

Definitely lacking instructions for wannabe translators on windows, where git cli is not nearly as used as the tortoisegit gui tool... (plus it bundles a full set of cli commands, perl and tcl! bleagh ;-) )

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Tuesday 22 February 2011 7:08:04 am

"

Definitely lacking instructions for wannabe translators on windows, where git cli is not nearly as used as the tortoisegit gui tool... (plus it bundles a full set of cli commands, perl and tcl! bleagh ;-) )

"

as a windows and GIT user, you may have good tips to share, that we will integrate to this tutorial ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Thiago Campos Viana

Tuesday 22 February 2011 11:52:18 am

Do I need to wait my pull request about new triggers/events be accepted before start doing more changes? Because I think if I made a pull request again it will be in the same pull request as the one before. Anyway, I think pt-BR is ok.

eZ Publish Certified Developer: http://auth.ez.no/certification/verify/376924

Twitter: http://twitter.com/tcv_br

Gaetano Giunta

Wednesday 23 February 2011 1:15:15 am

@nico sorry, I'm not a git user by any stretch, yet :-)

Principal Consultant International Business
Member of the Community Project Board

Nicolas Pastorino

Wednesday 23 February 2011 1:48:54 am

"

Do I need to wait my pull request about new triggers/events be accepted before start doing more changes? Because I think if I made a pull request again it will be in the same pull request as the one before. Anyway, I think pt-BR is ok.

"

Not being a GIT expert, i'd say it is not possible to have two distinct pull requests from the same branch. This means that we'll have to incorporate your first one before you can emit a second one. About your initial pull request, we may not be able to integrate this at the moment, since we are nearing deep-freeze on the master branch. But right after the release this should be sorted. In case you have additions/updates to make to the pt-BR translation, let us know, we'll find a solution.

Cheers and thanks Thiago !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Nicolas Pastorino

Wednesday 23 February 2011 1:49:15 am

"

@nico sorry, I'm not a git user by any stretch, yet :-)

"

What ?!?

;)

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Damien Pobel

Friday 25 February 2011 3:38:25 pm

Just sent a pull request for the french translation : https://github.com/ezsystems/ezpublish/pull/24

What about translating extensions ? Can/Should we proceed with the same workflow to translate extensions ?

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Bertrand Dunogier

Sunday 27 February 2011 4:44:05 am

I don't see why we wouldn't accept contributions to extension translations. As good a pull request as any other :-)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Damien Pobel

Sunday 27 February 2011 9:14:30 am

"

I don't see why we wouldn't accept contributions to extension translations. As good a pull request as any other :-)

"

Sure, but the tutorial does not say anything on this, there may be a special thing on that...

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Damien Pobel

Sunday 27 February 2011 1:49:51 pm

To potential translators : translation files have not yet been updated... You need to run ezlupdate before translating extensions.

Cheers

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

You must be logged in to post messages in this topic!

eZ debug

Timing: Jan 18 2025 02:04:19
Script start
Timing: Jan 18 2025 02:04:19
Module start 'content'
Timing: Jan 18 2025 02:04:19
Module end 'content'
Timing: Jan 18 2025 02:04:19
Script end

Main resources:

Total runtime0.1643 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.6641180.8125
Module start 'content' 0.00720.0068 769.4766114.6250
Module end 'content' 0.01400.1501 884.1016531.7344
Script end 0.1641  1,415.8359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00412.4923200.0002
Check MTime0.00160.9947200.0001
Mysql Total
Database connection0.00110.645910.0011
Mysqli_queries0.114669.79461410.0008
Looping result0.00150.92421390.0000
Template Total0.149791.110.1497
Template load0.00100.613510.0010
Template processing0.148790.504810.1487
Override
Cache load0.00070.399310.0007
Sytem overhead
Fetch class attribute can translate value0.00160.954510.0016
XML
Image XML parsing0.00040.255710.0004
General
dbfile0.00301.8496200.0002
String conversion0.00000.004230.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs