Issue with string duplication when fixing translations in Moodle

Re: Issue with string duplication when fixing translations in Moodle

ó $a->name - $a->date
Number of replies: 3

I conducted a test and noticed that it only works when importing in the same string version.

In the example below, I uploaded it in version 4.2, and the backpackexporterrorwithinfo error was not duplicated. But if I upload it in version 4.5, the fix will only apply to versions between 4.2 and 4.4, and not to 4.5. Is that correct?

Captura%20de%20Tela%202024-09-17%20a%CC%80s%2008.42.10.png

In reply to Eduardo Kraus

Re: Issue with string duplication when fixing translations in Moodle

ó $a->name - $a->date
Picture of Language pack maintainers

Thank you, Eduardo!

Because I like your idea so much, I downloaded your corrections from your submission and re-uploaded them for all versions 4.0, 4.1, 4.2, 4.3 and 4.4. I found that I got corrections with each upload. So I am sure that the corrections really apply to all Moodle 4.x. Originally, your corrections were only uploaded for Moodle 4.5. 

I'm not sure if I could have made it easier, because on the page https://lang.moodle.org/local/amos/stage.php I can only select one version at a time. 

Best regards 
Ralf

In reply to Ralf Krause

Re: Issue with string duplication when fixing translations in Moodle

ó $a->name - $a->date
In AMOS, it is necessary to select the "Components" option. Then, for each string, I need to change the "String identifier," click on "Show Strings," and make the modification.

In the specific case I sent, this would need to be done "only" 33 times.
In reply to Eduardo Kraus

Re: Issue with string duplication when fixing translations in Moodle

ó $a->name - $a->date
Picture of Language pack maintainers

Hi Eduardo,

I downloaded your translated strings from AMOS … and yes, I got a zip file containing a folder 4.5 and inside a folder de. Inside this folder I found 33 files. I could zip these 33 file to a file Archiv.zip and I could upload this one file. So I must upload the zip four times do get all strings into 4.1, 4.2, 4.3 and 4.4.

No, I could not upload the file I got from AMOS directly because the zip file contains a folder and inside another folder. The AMOS zip upload wants to get a flat zip without any folder inside.

Best regards,
Ralf