def test_fallback_lang(self):
    "\n        Test that twntranslate uses the translation's language.\n\n        twntranslate calls _twtranslate which might return the translation for\n        a different language and then the plural rules from that language need\n        to be applied.\n        "
    assert ('co' not in plural.plural_rules)
    assert (plural.plural_rules['fr']['plural'](0) is False)
    self.assertEqual(i18n.twntranslate('co', 'test-plural', {'num': 0, 'descr': 'seulement'}), u'Robot: Changer seulement une page.')
    self.assertEqual(i18n.twntranslate('co', 'test-plural', {'num': 1, 'descr': 'seulement'}), u'Robot: Changer seulement une page.')
Test that twntranslate uses the translation's language.

twntranslate calls _twtranslate which might return the translation for
a different language and then the plural rules from that language need
to be applied.
def test_fallback_lang(self):
    "\n        Test that twntranslate uses the translation's language.\n\n        twntranslate calls _twtranslate which might return the translation for\n        a different language and then the plural rules from that language need\n        to be applied.\n        "
    assert ('co' not in plural.plural_rules)
    assert (plural.plural_rules['fr']['plural'](0) is False)
    self.assertEqual(i18n.twntranslate('co', 'test-plural', {'num': 0, 'descr': 'seulement'}), u'Robot: Changer seulement une page.')
    self.assertEqual(i18n.twntranslate('co', 'test-plural', {'num': 1, 'descr': 'seulement'}), u'Robot: Changer seulement une page.')