def METHOD_NAME(self, app, entity_code):
    en_app_strings = commcare_translations.loads(app.create_app_strings('en'))
    self.assertEqual(en_app_strings[f'custom_assertion.{entity_code}.0'], "en-0")
    self.assertEqual(en_app_strings[f'custom_assertion.{entity_code}.1'], "en-1")
    fr_app_strings = commcare_translations.loads(app.create_app_strings('fr'))
    self.assertEqual(fr_app_strings[f'custom_assertion.{entity_code}.0'], "fr-0")
    self.assertEqual(fr_app_strings[f'custom_assertion.{entity_code}.1'], "fr-1")