[translatable] support repository methods for custom translation class, #167