Sha256: 9e3bed19637f2780219c82ad9ede9ec835300f4960aa28b3fc84b14dd8cb9295
Contents?: true
Size: 519 Bytes
Versions: 37
Compression:
Stored size: 519 Bytes
Contents
require 'benchmark/base' $LOAD_PATH.unshift 'lib' require 'fast_gettext' include FastGettext::Translation FastGettext.available_locales = ['de','en'] FastGettext.locale = 'de' puts "FastGettext:" FastGettext.add_text_domain('test',:path=>locale_folder('test')) FastGettext.text_domain = 'test' results_test{_('car') == 'Auto'} #i cannot add the large file, since its an internal applications mo file FastGettext.add_text_domain('large',:path=>locale_folder('large')) FastGettext.text_domain = 'large' results_large
Version data entries
37 entries across 37 versions & 2 rubygems