Topic: Extensions and new files

Where is the best place to put languages files for extensions ?

- PUN_ROOT/lang/<language>/<extension id>.php <--- more adecuate to actual folder structure
- PUN_ROOT/extension/<extension id>/lang/<language>/<extension id>.php  <--- extension works out-of-the-box, clean uninstall
- other ?

Imagine the same question with CSS's, images, etc. What do you think ?

sorry for my english

Re: Extensions and new files

The latter. Extensions should always be 100% contained within their own folder.

"Programming is like sex: one mistake and you have to support it for the rest of your life."