# Updating database default language

**URL:** <https://discuss.tryton.org/t/updating-database-default-language/8739>\
**Category:** Developer\
**Created:** [July 22, 2025, 12:54pm UTC](https://discuss.tryton.org/t/updating-database-default-language/8739 "2025-07-22T12:54:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xavi](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/x/8e8cbc/32.png) [@Xavi](https://discuss.tryton.org/u/Xavi)\
**Post date:** [July 22, 2025, 12:54pm UTC](https://discuss.tryton.org/t/updating-database-default-language/8739/1 "2025-07-22T12:54:32Z")

</div>

Hi, im running into the same issue described in this post: [Translate field property doesn't work in Spanish as in English](https://discuss.tryton.org/t/translate-field-property-doesnt-work-in-spanish-as-in-english/615).  
The solution given there is to define the main language of the database, but some time ago I got this answer in this forum asking about another thing:  
"  
_This is stored in the database and can no more be changed once the database has been setup. But it is actually the default language that the cron task will be using._  
"  
If just changing the value in the config won’t work, is there any way to actually change the language? maybe creating a new database with the desired language and then migrating all the data? would it cause trouble with existing data?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![alejandro](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/alejandro/32/3849_2.png) [@alejandro](https://discuss.tryton.org/u/alejandro)\
**Post date:** [July 22, 2025, 1:42pm UTC](https://discuss.tryton.org/t/updating-database-default-language/8739/2 "2025-07-22T13:42:03Z")

</div>

Greetings.

You can define the main language using the wizards in the administration section of tryton. Are you trying to change the language of the entry database?.

 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/2X/f/fb8f08f0d6ed5f3d59be52829cd6ab257020c7fc.png)

 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/2X/7/79ae56e26b5d7f89968978b476510510aefd64d3.png)

Now you can set your preference language in the user configuration.

 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/2X/3/35de5a2dc281dfc12162cc88c6867aa9f93de239.png)

For fields like:

Product Name that is field “translate=True” you can override this value.

 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/2X/5/5b3f5418e4a9bdf01c1015cfa536c912b73c2d6b.png)  
 ![imagen](https://discuss-cdn.tryton.org/uploads/default/original/2X/7/79358d4f753af945246510ddc8c4458bec895413.png)

How could I replicate this error?

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [July 22, 2025, 9:54pm UTC](https://discuss.tryton.org/t/updating-database-default-language/8739/3 "2025-07-22T21:54:04Z")

</div>

The default language is stored as `language` in the table `ir_configuration` of the database.  
Normally it is not allowed to change it because it defines which value of translated fields are stored in the main table and the other in `ir_translation`. So if you change it after you may have inconsistency in the translated data. So it is at your own risk.

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [July 23, 2025, 9:54pm UTC](https://discuss.tryton.org/t/updating-database-default-language/8739/4 "2025-07-23T21:54:44Z")

</div>

Closed on July 23, 2025, 9:54pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
