Language fallback to English problem

Language fallback to English problem

oleh Kilian Gandos -
Jumlah balasan: 6

After modifying 2 strings of a language pack through moodle, giving an error when saving (error/Unable to find the filename for the 
component block_homework), we have the problem that one of the moodle languages ​​(not english, catlan in this case) goes to english
in the selection and from this mode we see the moodle in English despite selecting another language (image atached).

It occurs to me that we could install and uninstall the language pack, but I would like some help from someone who has experienced 
something similar so that I can find asolution without having to do this in production.


As information, when saving the strings in moodle data the ca_local folder was deleted, we put it back from a copy but the error
persists.


The moodle version we have is 3.9.


Thanks in advance.

Lampiran 2022-05-04_114144.jpg
Rata-rata penilaian: -
Sebagai balasan Kilian Gandos

Re: Language fallback to English problem

oleh Dominique Palumbo -
Gambar dari Particularly helpful Moodlers Gambar dari Plugin developers
Hi,

did you clear all the caches ?

Dominique.
Rata-rata penilaian:Useful (1)
Sebagai balasan Dominique Palumbo

Re: Language fallback to English problem

oleh Kilian Gandos -
Yes, I did it and after that no changes for the issue.
Sebagai balasan Kilian Gandos

Re: Language fallback to English problem

oleh Kilian Gandos -
Anyone have any idea about the problem?
Sebagai balasan Kilian Gandos

Re: Language fallback to English problem

oleh Helen Foster -
Gambar dari Core developers Gambar dari Documentation writers Gambar dari Moodle HQ Gambar dari Particularly helpful Moodlers Gambar dari Plugin developers Gambar dari Testers Gambar dari Translators

Sorry I don't have any ideas, however I am moving the discussion thread to the Languages forum where hopefully someone can help.

Rata-rata penilaian:Useful (1)
Sebagai balasan Helen Foster

Re: Language fallback to English problem

oleh Kilian Gandos -
Thank you very much.

In case someone else has something similar, I managed to solve it.

After testing locally, the problem was not in the database, but in the moodle data. Having several recent copies, I have replaced the lang folder with one of the copies and the problem has been solved.

Greetings.
Rata-rata penilaian:Useful (2)
Sebagai balasan Kilian Gandos

Re: Language fallback to English problem [Solved]

oleh Helen Foster -
Gambar dari Core developers Gambar dari Documentation writers Gambar dari Moodle HQ Gambar dari Particularly helpful Moodlers Gambar dari Plugin developers Gambar dari Testers Gambar dari Translators

Kilian, good to hear that you managed to solve the problem and thanks for sharing your solution.