Migrating translations : What about the parsing of languages code (ex: "fr", "en") to languages ids ?
Hello,
In V8, to translate the contents I made something like that (in my memory it was a good practice) :
page (id, translations (translations with id<->page_translations.page)) page_translations (id, page (int), language_code (language))
So, when I finally succeeded to import my data to the V9 with the migration-tool, I noticed that my collections kept this old schema, and there didn't had any conversion to the new schema with language_id etc of Directus v9.
So, I don't have any idea of how I'm going to restore all my translations because now they do not appear at all (blank space below "Translations" for exemple in each of my page items).
Is it something that someone is working on ?
So, I don't have any idea of how I'm going to restore all my translations because now they do not appear at all (blank space below "Translations" for exemple in each of my page items).
Any errors in the app dev tools? What did the schema look like exactly in v8, and what is the end result in v9?
Before :
After :
And I've finally that :

EDIT:
I also noticed that when I created a fresh collection to test translations in V9, that this appears (which is not on my imported collections) :

If you need anything else, do not hesitate to ask me.
I have the same problem. Migrated, but no working translations.
I works with these post migration steps
- create
languagestable (created atestcollection and an translation field so that the correctdirectus_collectionentries are created) - set
specialandinterfacetotranslationsinside yourdirectus_fieldstable for yourtranslationfield in your main table - remove the original, empty
translationsfield in your main table (perdrop field; not in directus) - create
directus_relationsrelations (used the relation from my test-collection from step 1) - inserted all old language codes (in v8 it was
deoren) in mylanguagestable so that i can create a real foreign key in step 6. - create a FK in my translation table. also used my test_translations collection as a template