Closed scil closed 4 years ago
Hi @scil,
Sorry for the delay in the answer.
In short: I would not recommend it to use with Wagtailtrans as it would be confusing and (for example) Wagtailtrans is not supporting i18n_patterns just yet (#88)
The code you're referring to from the Wagtail documentation, is another approach to handling internationalisation by setting the fields on the Page model. Which is a fine solution if the amount of languages you are supporting is manageable. Just keep in mind when adding languages, you will also need to create a new database migration.
Wagtailtrans takes a different approach in having internationalisation becoming a bit more user-friendly for the editor when supporting a fair amount of languages. Where with Wagtailtrans it does not require a new database migration when adding a new language. But it is just another approach as there is no "one-size-fits-all"-solution on how internationalisation fits into your organisation or your clients. We explained a bit in our documentation, but I realise we could have explained this part a bit better.
Another option for internationalisation could be wagtail-localize which is briefly explained in the Torchbox Blog's.
In the doc, there are Serving different languages from different URLs and and "Duplicating the fields in your model".
So does wagtailtrans work together with these codes?