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
Posts: 6818
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