Language translations for my module

Language translations for my module

'mei a Aaron Smyth - 'aho
Number of replies: 0

Okay i have posted this in the language section but there seems to be more going on here and as its a problem with a module im developing then hopfully its in the right place.

Basically im developing an elp module for moodle.Everythings going fine except for one problem which is this-

im pulling my text from the english language file(the elp.php file which ive placed in /lang/en folder)  using 'get_string("Sentencetext","elp")' etc for whichever string i need . When the main moodle language is set to 'en' theres no problem. It looks inside /lang/en/elp.php and gets the string. My problem is that when i switch the language to say 'es' and check it does not take the string from /lang/es/elp.php but just uses the english version. So basically im wondering if theres anything i have to set in order for the languages to work properly or is there something else i can do to fix this.

Thanks alot. 

Average of ratings: -