Why are relative internal link not supported for replacement?
Gato AI Translations for Polylang can replace the internal link URLs with the corresponding URL for the target language.
This is supported for absolute URLs only (such as https://mysite.com/hello-world/), not for relative URLs (such as /hello-world/).
That's because we can't be sure if a string is a relative URL, or something else.
For instance, string "/" may be a relative URL pointing to the homepage, or maybe something else, and as such it must not be replaced with "/es/" (for the Spanish language).
In addition, relative URLs may be translated by the API, when they should not be, and as such we do not encourage using them. (Absolute URLs are not translated, they are kept as is.)
For instance, DeepL may translate string /hello-world/ to /hola-mundo/, when it should not be translated.