wagtail / wagtail-localize

Translation plugin for Wagtail CMS
https://wagtail-localize.org/
Other
222 stars 84 forks source link

URL fields shouldn't be translatable #117

Open kaedroho opened 4 years ago

kaedroho commented 4 years ago

We should treat URLs like images, embeds, etc and only allow them to be copied/overridden but not translated.

kaedroho commented 3 years ago

This is less of an issue now that we've added automatic conifugration of translatable_fields. URL fields are made synchronised by default.

But it's still possible to make them translatable, and we do this in the tests (we get a lot of warnings from beautiful soup about this because it thinks we're trying to use it to make HTTP requests).

We should probably still make it an error to register them as translatable, but need to fix the tests first.