Files
Salon/backend/apps/accounts/migrations/0003_preferred_language.py
T
mohd d40bb10876 Updated PLANS.md, AGENTS.md, and arabic-localization.md to reflect the “foundations now, full translations later” approach and marked progress accordingly.
Implemented localization foundations across backend and frontend (locale settings/middleware, preferred language, i18n wiring, RTL support, minimal Arabic UI strings, Accept-Language).
Added targeted backend and frontend tests plus a risks note for pending full translation coverage.
2026-02-28 11:48:58 +03:00

20 lines
489 B
Python

from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("accounts", "0002_phone_auth_fields"),
]
operations = [
migrations.AddField(
model_name="user",
name="preferred_language",
field=models.CharField(
choices=[("ar-sa", "Arabic (Saudi Arabia)"), ("en", "English")],
default="ar-sa",
max_length=10,
),
),
]