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.
This commit is contained in:
2026-02-28 11:48:58 +03:00
parent fd90af33b3
commit d40bb10876
27 changed files with 407 additions and 68 deletions
+10 -1
View File
@@ -10,7 +10,16 @@ User = get_user_model()
class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User
fields = ["id", "email", "phone_number", "first_name", "last_name", "role", "is_phone_verified"]
fields = [
"id",
"email",
"phone_number",
"first_name",
"last_name",
"role",
"is_phone_verified",
"preferred_language",
]
read_only_fields = ["id", "role", "is_phone_verified"]