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:
@@ -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"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user