# Epic OP-8565 - Allow localized seeding of all seed data

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8565

## Detailed specification

### Motivation and background information

### Acceptance criteria

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap |  |
| Date |  |
| Votes | 1 |
| List |  |
| Target versions | 13.0.0 |
| Sprint | 13.0.0 |
| Backlog bucket |  |
| Relevance |  |

## Subitems

| ID | Type | Subject | Status | Assignee | Target versions | Project | Priority | Spent time |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| OP-12313 | Implementation | Decouple seeding data, translations, and seeders | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12314 | Implementation | Make seeding data strings translatable | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12315 | Implementation | Ask/use default language setting in packaged installation | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12316 | Implementation | Use default language setting in docker installation for seeding | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12317 | Implementation | Ask/use default language setting in kubernetes installation | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12482 | Implementation | Send translatable strings to crowdin | closed |  | 13.0.0 | OpenProject | Medium |  |
| OP-12719 | Implementation | Add default language to available languages when changed in settings | closed |  | 13.0.0 | OpenProject | Medium |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Module |
| --- | --- | --- | --- | --- | --- | --- |
| OP-13083 | Bug | Seeding in French fails because of database constraint on name length | closed |  | 13.0.0 |  |
| OP-13081 | Bug | Seeding in another language does not translate role names, document categories, and color names | closed |  | 13.0.0 |  |
| OP-12986 | Documentation | Document localized seeding | closed | Oliver Günther | 13.0.0 |  |
| OP-12718 | Bug | crowdin source file for bim is not sent / retrieved from crowdin | closed |  | 13.0.0 |  |
| OP-12581 | Task | How should the initial selected language be managed? | closed |  | 13.0.0 |  |

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Christophe Bliard |
| Product manager |  |
| Designer | Marc Alcobé |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

Currently, the basic and demo data seeds are not (fully) localized, even though we could simply let them be translated by crowdin.

#### Acceptance criteria

  - Seeding of an OpenProject installation's data is supported in all the languages configured on Crowdin.
  - Upon the first configuration of the installation, the `default_language` setting is queried for:
      - packaged installation: part of the wizard (before the seeding)
      - docker: Providable as an environment variable
      - kubernetes: Providable as an environment variable
  - When seeding, the `default_language` determines the locale in which the seeding is carried out.

#### Possibly in scope

  - Creation of SaaS tenants with localized seed data
      - Initial users selects locale as part of the tenant creation process.
      - \[technical\] tenant databases of supported locales are produced and stockpiled and the appropriate database is then assigned based on the locale.

#### Out of scope

  - Changes to the seeded data structure are out of scope. The same data as before will be seeded.
  - Translating text in image attachments.
