Moving eZ publish sites: problems with translation.ts

Author Message

Cristian G. L.

Tuesday 15 June 2004 9:27:39 am

Hi

Imagine the following situation:
I have a server with a eZ publish site (called "A"). In other machine (other eZ publish installation) i developed other site (called "B"). I want to move the site "B" to the server where i have the site "A", so that both sites run in the same eZ publish installation.
In the server, inside the <i>translation.ts</i> there are a lot of strings added for site "A". But in the other machine, i added to the respective <i>translation.ts</i> strings for site "B".
If i copy the site "B" <i>translation.ts</i> to the server, i will lost the string added for site "A".
I can't have two <i>translation.ts</i> files because this file is shared along all sites of the same eZ publish installation. How can i merge two <i>translation.ts</i> files?

(note: i don't have this problem yet, but i think that could be relevant)

Bye (sorry for my poor english)

Cristian

Marco Zinn

Saturday 19 June 2004 9:42:18 am

The .ts files are XML files, so you could merge them with a text editor and maybe use or diff and patch commands (i'm not into unix enough to help out more).
But the problem is there, even if you "just" upgrade to a new version of ezPublish, you could loose your custom translations.
I guess, this should be solved by some kind of override mechanism, as it is done with the .ini files (needs coding from ez).

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

Pablo C. Vergara Castro

Monday 21 June 2004 12:05:32 am

I believe that the problem that raises Cristian is but on the posibility in which the translations with the file are being made at the moment translation.ts.

I explain, if we try to use translations in sections or in design texts for each site there's not a posibility to make it since all the translations depend on one or several files placed in share (common directory for all site's of ezpublish).

Björn Dieding@xrow.de

Wednesday 23 June 2004 11:06:20 am

Have you looked into the topic of setting up a translation extenstion?

You can supply translations via an 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/

Pablo C. Vergara Castro

Thursday 24 June 2004 12:21:17 am

Can you explain that? Please

Where is information about?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.