Translation for a Add-On

pucho2002
pucho2002's picture

Joined: 2004-03-01
Posts: 2
Posted: Fri, 2004-05-14 08:27

Hi,

I am currently developing yet another shop add on for gallery. As I would like to get translation in there from the start I was wondering how / where I should go about that.

1) Where should all my files go? They are currently in the root directory for the pages and all the classes/includes etc are in ./contrib/shop/(...)

2) Where should the translation go? I think it should be a separte po file. But where? How? And how do I get it included?

Thanks in advance for the help

Pucho

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sun, 2004-05-16 23:22

Hello,

1.) You can place your additional files where you want ;)

2.) Gallery 1 can currently only handle 2 files translation
One for config wizard, one for core gallery.
You have to do this:
Read the Translation HowTo in DevDocs on this site.
then:
- cd po
- open filelist-core
- add the relativepath to your files in that file
then update the translation file(s) like described in the howto.

That should work.

If you have questions, feel free to ask.
If you think the HowTo is bad and sucks, please let me know and let us make it better.

Regards,

Jens