We'll punt if we don't have a translation
(self, msg: str)
| 36 | self.translations = {"dog": "σκύλος", "cat": "γάτα"} |
| 37 | |
| 38 | def localize(self, msg: str) -> str: |
| 39 | """We'll punt if we don't have a translation""" |
| 40 | return self.translations.get(msg, msg) |
| 41 | |
| 42 | |
| 43 | class EnglishLocalizer: |