Skip to content

Commit

Permalink
feat: add language support (#6205)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablohashescobar authored Dec 15, 2024
1 parent 5908998 commit 74b2ec0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ class Migration(migrations.Migration):
name='mobile_timezone_auto_set',
field=models.BooleanField(default=False),
),
migrations.AddField(
model_name='profile',
name='language',
field=models.CharField(default='en', max_length=255),
),
migrations.AlterField(
model_name='issueversion',
name='owned_by',
Expand Down
2 changes: 2 additions & 0 deletions apiserver/plane/db/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ class Profile(TimeAuditModel):
is_mobile_onboarded = models.BooleanField(default=False)
mobile_onboarding_step = models.JSONField(default=get_mobile_default_onboarding)
mobile_timezone_auto_set = models.BooleanField(default=False)
# language
language = models.CharField(max_length=255, default="en")

class Meta:
verbose_name = "Profile"
Expand Down

0 comments on commit 74b2ec0

Please sign in to comment.