Jump to content

Translating modules inside theme folder


Recommended Posts

Hi,

 

I am playing around with PS 1.5, and I have stumbled upon something I don't quite understand.

 

I have added some text to the blocknewsletter module.

I have then uploaded the modified .tpl file to www/themes/default/modules/blocknewsletter/

 

The added text is showing fine on the frontpage, but when I want to go and translate my added text in Admin-Translations, its not to be found.

 

I have made a folder called translations, and put that into the www/themes/default/modules/blocknewsletter/ folder. I've also added language files inside that folder. That doesn't work.

 

If I upload my modified tpl file to the www/modules/blocknewsletter/views/templates/hook/ then the new text will show up in the Admin-Translations.

 

So my question is: How do I modify module tpl files, keep the .tpl files inside the www/theme/default/modules directory, and make added text translatable, all without overwriting the original module files in www/modules/ ?

 

 

Hope this makes sense.. :)

Edited by Carlsen (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...