# Ask for translatable languages on new database

**URL:** https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471
**Category:** Feature
**Created:** [March 21, 2020, 6:36pm UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471 "2020-03-21T18:36:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 21, 2020, 6:36pm UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/1 "2020-03-21T18:36:34Z")

</div>

## Rational

Currently when the users logs on a fresh database all the user interface is shown in English and there is not way to discover if the system is translated to it’s own language.

## Proposal

Add a configuration which request the languages to add (using a multiselection widget). The wizard will set the translatable field to all the selected language and triggger an update of the ir module to load all of the translations.

## Implementation

---

<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: [March 21, 2020, 11:26pm UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/2 "2020-03-21T23:26:51Z")

</div>

> [@pokoli](#):
>
> Currently when the users logs on a fresh database all the user interface is shown in English

Only if no language is set in the configuration file.

> [@pokoli](#):
>
> Add a configuration

What is that?

> [@pokoli](#):
>
> The wizard will set the translatable field to all the selected language and triggger an update of the ir module to load all of the translations.

I do not like very much to have a full update from a wizard to activate a language.  
It may be better to have a tool to load a language.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 22, 2020, 9:06am UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/3 "2020-03-22T09:06:04Z")

</div>

> [@ced](#):
>
> What is that?

I mean a configuration wizard, the ones that are lanuched on the first run.

> [@ced](#):
>
> It may be better to have a tool to load a language.

Ok so we can add a button on the language to load it, and execute this process from the wizard.

---

<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: [March 22, 2020, 10:19am UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/4 "2020-03-22T10:19:39Z")

</div>

> [@pokoli](#):
>
> Ok so we can add a button on the language to load it, and execute this process from the wizard.

That sounds good. But we should be careful to share as much as possible the code in `trytond/modules/ __init__.py`.

---

<div class="post-metadata">

### Author: ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)
#### Post date: [March 22, 2020, 10:41pm UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/5 "2020-03-22T22:41:17Z")

</div>

I’ve just filled [Add language configuration wizard (#9172) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/issue9172) which implements this.

---

<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: [August 8, 2020, 10:22am UTC](https://discuss.tryton.org/t/ask-for-translatable-languages-on-new-database/2471/6 "2020-08-08T10:22:28Z")

</div>


