The Information
I am developing a website using Silverstripe CMS (version 3.5.2) with Translatable module. I have an custom object called Category that $has_many SubCategory. The SubCategory also $has_many FormFile. An exemple of the structure is here below:
- Category: -Subcategory1: - FormFile1
- FormFile2
-Subcategory2: - FormFile1
- Category2: -Subcategory1 - FormFile1
etc...
I am also using the Translatable module for a second language. On that second language I will have different categories, subcategories and files.
_config.php
Object::add_extension('that_page', 'Translatable');
Object::add_extension('Category', 'Translatable');
Object::add_extension('SubCategory', 'Translatable');
Object::add_extension('FormFile', 'Translatable');
The Problem
When I try to add a category for the second language, right after I click create, I get redirected to the default English version in the cms.
If still nobody can find an answer I can provide further code samples.
Thanks.