def testSemiLocalized(self):
    self.assertEqual(i18n.translate('en', self.msg_semi_localized, fallback=True), u'test-semi-localized EN')
    self.assertEqual(i18n.translate('nl', self.msg_semi_localized, fallback=True), u'test-semi-localized NL')
    self.assertEqual(i18n.translate('fy', self.msg_semi_localized, fallback=True), u'test-semi-localized NL')
def testSemiLocalized(self):
    self.assertEqual(i18n.translate('en', self.msg_semi_localized, fallback=True), u'test-semi-localized EN')
    self.assertEqual(i18n.translate('nl', self.msg_semi_localized, fallback=True), u'test-semi-localized NL')
    self.assertEqual(i18n.translate('fy', self.msg_semi_localized, fallback=True), u'test-semi-localized NL')