Kirby Multilingualism within an existing project leads to errors

I have a problem with an existing project. It’s supposed to be multi-language. The problem occurs with all content folders that contain images, etc., in addition to the .txt file. If I rename the .txt file manually, it doesn’t recognize it either and I simply create a new .txt file, e.g., from an image. The backend then no longer recognizes the correct blueprint. How do I subsequently make a large project multi-language capable and adopt the existing content for all new languages?

What were the exact steps you did to convert the site to multi-language?

Usually, it should be all automatic and Kirby takes care of renaming all the content files and file meta data files.

What size is the project in terms of pages and files?

Hi Texnixe,

i added this to the config file: ‘languages’ => true,
And i added the languages folder with the 2 language files:
'code' => 'de', 'default' => false, 'direction' => 'ltr', 'locale' => [ 'LC_ALL' => 'de_DE.utf-8' ],

After a reload, kirby genrates the new language files in all folders where no other files are placed. Every folder with content like image etc, kirby does not rename the content.txt file, it randomly renames one of the image.txt files. if i do it myself, just rename content.txt to content.en.txt, kirby does not take those file. I also tried renaming all files in the content folder by myself → reload → same result.

Hm, this is something you should not do manually, but create the languages via the Panel, then all should be renamed automatically.

boah, thank you, it works! I copied the files cause of my key value pairs with button text etc

You can add those translations once the languages are created, but it’s important to always do it via the Panel if you do not start with languages enabled right from the start.

yes, thank you. after adding a language via panel it works. and i can now add my translation.