OdooWiki OCA HUB

Translate Country States

base_country_state_translatable folder_open OCA/partner-contact open_in_new
Localization License: AGPL-3

This module allows to translate the country states names.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Makes country state names translatable, so users can enter a different state name for each language installed in Odoo.

This module changes how state or province names are stored in Odoo. It extends the existing res.country.state model and marks the state name field as translatable.

In practice, when you open a state record (for example from the Countries list in the Contacts configuration area) and several languages are active in your database, the name field can hold a separate value per language. You can type the state name in one language and then switch language to provide the translated name, instead of being limited to a single name shared by all languages.

The module adds no new menus, buttons, reports, checks, computed values or scheduled actions. It only changes the storage behaviour of the state name, so existing screens that display or select states will show the name in the language of the current user when a translation exists.

It depends only on the base module and does not modify any other model. Because the change is limited to the name field of res.country.state, addresses, partners and other records that reference a state will simply display the translated name according to the active language.

Depends on

base
Models and fields (1)
  • res.country.state · extends an existing modelname

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 8 confirmed, 1 with no information of 9 versions.

Sources · Odoo 19.0

Confirmed on 2026-11-03 in branch 19.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 19.0

Inherit this module in your l10n_xx_country_states Module and translate the states names.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.