The easiest option, if you already have a CSV with the data you want to keep, would be to first purge everything from the site, and then import only what you want to keep. We have a task that can help with the data purge. Some tips and reminders for this method:
- First, make sure that the default installation culture of the site is in fact properly set to FR - this is configured in apps/qubit/config/settings.yml
- Make sure that you have a copy of the data you want to keep in an AtoM CSV import template - i.e. export it first, or create it using one of our CSV import templates
- To ensure it will be imported as French data, make sure that each row in the CSV has fr as a value in the culture column.
- If you want to make a database backup first (in case anything goes wrong! highly recommended), see:
- You can purge ALL DATA from your current installation with the following command-line task - do not do this until you are sure you have ALL the data you want to keep in a CSV file first, and/or a database backup!
- Now you can simply import the CSV and progress from there
Even if you don't already have a CSV of the data you want to keep:
Note that if you run a CSV export from the command-line, you should be able to export ALL rows at once, both English and French. See:
Use this export as a starting point - make sure that all the data you want to keep is included in the French rows, then delete the English rows.
Keep in mind that you may need to repeat this process with other entities, such as a authority records, repository records, etc as well - AtoM will create stub authorities and terms based on names found in an archival description csv row (or link to existing records when a match is found), but more detailed information in other fields would require a separate method of capture and re-import. To link everything on import, I would suggest re-importing in this order:
- Terms
- Repository records
- Authority records
- Archival descriptions
Good luck, and I hope this helps.