# Can not import countries or currencies

**URL:** https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843
**Category:** System Administrator
**Created:** [January 20, 2023, 5:42pm UTC](https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843 "2023-01-20T17:42:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![iehoshia](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/iehoshia/32/243_2.png) [@iehoshia](https://discuss.tryton.org/u/iehoshia)
#### Post date: [January 20, 2023, 5:42pm UTC](https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843/1 "2023-01-20T17:42:31Z")

</div>

Hi,

I’m trying to import currencies and countries into a new database. I installed account module and dependencies. The command is:

`trytond_import_countries -c tr.conf -d mydb`

The error message is:

`trytond.model.modelstorage.SelectionValidationError: The value "en_US" for field "Language" in "country.country,name" of "Translation" is not one of the allowed options. -`

I already installer English language. I’m using trytond==6.6.3. Same command works on 6.0, 6.2 and 6.4.

---

<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: [January 20, 2023, 6:30pm UTC](https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843/2 "2023-01-20T18:30:50Z")

</div>

I guess the language of the admin user is not valid.

---

<div class="post-metadata">

### Author: ![iehoshia](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/iehoshia/32/243_2.png) [@iehoshia](https://discuss.tryton.org/u/iehoshia)
#### Post date: [January 20, 2023, 6:58pm UTC](https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843/3 "2023-01-20T18:58:22Z")

</div>

Effectively that is. I need to set admin user language.

PD. May be useful to add the **en** language as default.

---

<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: [February 19, 2023, 6:59pm UTC](https://discuss.tryton.org/t/can-not-import-countries-or-currencies/5843/4 "2023-02-19T18:59:10Z")

</div>

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