move setting range to init()
add context to class, and use translatable string if context is defined, issue #49