fix handling of translated option values (for select attributes).
Merge pull request #63 from ckressibucher/master

fix handling of translated option values (for select attributes).

Accepting merge. will test it but seem ok looking at the code. this code is a bit old and maybe had some glitches introduced in non ended refactoring attempt some time ago that caused the bug.