It would be nice to add wagtail trans to headless options of wagtail. So when you see you rest api you can see the language of each page and corresponding translated pages.
You could add APIField('language') to your page models. You'd get the normal foreign key representation by default but could supply a serializer if you wanted it differently.
It would be nice to add wagtail trans to headless options of wagtail. So when you see you rest api you can see the language of each page and corresponding translated pages.