To save some memory, define the message_translation_hash as a class instance var. See eg. buildings.rb and how it defines @buildings only one time per server start.