singapore: the smallest big galery
home » forum » Internationalisation » Add a new String

You are not logged in.

#1 2009-07-09 17:30:23

Danila
Member

Add a new String

Hello,

I've added a link under resized image to show the original image (realUrl) like it was posted here in the forum. But now I would like to make the text "View full size image" available in different languages I use. How can I do this?

I already added the coresponding function to the image class and my template...

Code:

function fullSizeText() { return $this->translator->_g("image|View full size image"); }

...but for the translations the structure of .pmo files is not very transparent for me for extending.

Offline

 

#2 2009-08-25 08:34:27

pavian
Moderator

Re: Add a new String

Hello Danila,
you need to edit the supplied po file, after this run the language tools from the tools/ folder.

Offline

 

#3 2009-08-25 09:45:08

Danila
Member

Re: Add a new String

Hi pavian,

thanks for the answer,
actualy my download package (singapore-0.10.1.zip) contains only pmo files (finally I recognized that they are just serialized arrays) and not the corresponding po files.

Where can I find them? I would also like to update the russian pmo to use UTF-8 encoding.

Offline