I guess it would be nice to be able to apply different names to different badges, levels... so, I guess a simple method on the badges and levels that can return a translated version.
in badge.rb
def name(translated)
translated ? I18n(:"badges.#{name}") : name
end
in level.rb
def name(translated)
translated ? I18n(:"levels.#{name}") : name
end
I can try to code this and open a pull request soon!
I guess it would be nice to be able to apply different names to different badges, levels... so, I guess a simple method on the badges and levels that can return a translated version.
in badge.rb
in level.rb
I can try to code this and open a pull request soon!