godotengine / godotengine/godot

Moving a translation file does not update the entry in project settings

Open
#119,458 0 comments 0 reactions 0 assignees View on GitHub
bug topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.7 beta2

### System information

W10

### Issue description

When you move a translation file (tested with `.po` file), the corresponding entry in projects translation list is not updated, leading to errors. Might be a regression (not tested).

Related to #111693 I guess.

### Steps to reproduce

1. Create a .po file
2. Go to Project > Project Settings > Localization > Translations
3. Add the translation file
4. Move the file
5. Go to project settings again
6. See that entry is not updated

### Minimal reproduction project (MRP)

[trantest.zip](https://github.com/user-attachments/files/27757389/trantest.zip)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from Project > Project Settings > Localization > Translations using the provided trantest.zip project and a .po file. Trace how the translation entry is stored and refreshed after the file is moved. Done means the project settings entry follows the moved file and no longer produces errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
localization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.