Importing tasks seems to prioritize Italian statement over any other language
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 412
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 3
Description
Description: When importing a task with the statement several languages, if Italian is available it picks it as default language
Steps to reproduce:
- Create a task with the statement in multiple languages, including 'en' and 'it'
- Import that task using
cmsImportTask
Expected: I would expect English to be default language for statements when available, with a higher preference than Italian
Actual: Italian is the default statement language if it is available
System Information
CMS version: main
How was CMS installed: docker
Postgres version: 15
Distribution and version: Ubuntu, using official Dockerfile
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the cmsImportTask import path and reproduce the case with a statement available in both English and Italian. Trace how the default statement language is selected; done means English is chosen when it is available, while the existing import behavior remains intact for other language combinations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend, internationalization
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100