How can you change a static string of a class?

Author Message

esperion H

Thursday 19 January 2006 3:03:19 pm

I try to build up a bilingual site, english and norwegian. Ez pub 3.5.

I want to change the headline of the account info page to the customers of my site.

I want to change it from the technical sounding."Default object view" to "My account info". I have tried to do this by editing the file: design/standard/templates/node/view/full.tpl. I just replace the text (I do it in admin). The problem is that it is not translated into Norwegian. It just reproduces the text in english, even if I have kept the language operator i18n where it used to be.

I thought a translation engine would take care of this on a one to one word basis? What am I supposed to do?

I have browsed the forum and the documentation pages. It is very time-consuming given the large number of irrelevant results you get. I hope there will be an easier access to answers to basic questions as this in the future.

Appreciate your help.

Esperion

Mads Ovesen

Friday 20 January 2006 12:06:35 am

You have to provide the translations yourself. Open the share/translations/<your_language>/translation.ts file. The parameter of i18n gives the path to the translation in the file.
Hope this helps your problem.

/m

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