Files
Netbox-Documentation/tests/conftest.py
T
MrBlakeandClaude Opus 5.5 f557e7d49d feat(i18n): use English source strings with German translation
Wrap all user-visible strings for translation, ship a complete German catalogue, align the NetBox version range (4.4.0-4.7.x) with the README and add a test that keeps them in sync.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 21:28:37 +01:00

8 lines
244 B
Python

import django
from django.conf import settings
# The importer tests load modules without NetBox; gettext still needs configured settings.
if not settings.configured:
settings.configure(USE_I18N=True, LANGUAGE_CODE="en")
django.setup()