Hi minder
Well, you don’t have to create two languages at all. You can create just the language you like (eg. ’de’ for German). However if you’re creating another Language than English you have to add the lang Parameter to your Snippet Call.
This way you can skip the creation of English Translations...
Edit:
If you do not translate the lang file for the Snippet, you’ll have to specify the easylang param. Like so:
[!EasyPoll? &lang=`en` &easylang=`de`!]
This way, the english language File (lang.en.php) will be used for texts like "Vote" etc. and German will be used for the questions and answers entered in the module.
The number of votes is redundant in the DB (once in polls table and second time at each choice). I wonder if this could not be computed simply when displaying results.
Umm.. I don’t know where you saw this. Number of Votes are just being counted in the "ep_choice" Table. You must confuse this module with the
Poll Module created by garryn (it had this redundancy because of mysql compatibility afaik).
Yeah i know, the whole Setup of Polls and Choices could be better from a User Inteface Perspective. However it was the easiest way to do without relying on AJAX and integrate the whole Translation Idea. Personally i create Polls in 4 Languages.
Oh, regarding Translations: If you have some time it would be really nice if you could supply us with a Snippet/Module Translation in your native language? Just in case you’re doing it anyway, you could send the lang Files to me. That would be great!
Cheers -- banal