Return a translation object in the default 'django' domain.
(language)
| 287 | |
| 288 | |
| 289 | def translation(language): |
| 290 | """ |
| 291 | Return a translation object in the default 'django' domain. |
| 292 | """ |
| 293 | if language not in _translations: |
| 294 | _translations[language] = DjangoTranslation(language) |
| 295 | return _translations[language] |
| 296 | |
| 297 | |
| 298 | def activate(language): |
no test coverage detected