[wp-meta] [Making WordPress.org] #5487: Erreurs 404 sur les liens dans la documentation en cours de traduction
Making WordPress.org
noreply at wordpress.org
Mon Oct 26 22:53:44 UTC 2020
#5487: Erreurs 404 sur les liens dans la documentation en cours de traduction
---------------------+-------------------------
Reporter: jdy68 | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: HelpHub | Keywords: needs-patch
---------------------+-------------------------
Hi,
I'm part of the team that translates WordPress documentation into French.
This translation is done post by post and not everything is translated
yet.
This is why in some posts there are links that point to posts that are
still in English.
All links pointing to another post in the documentation are relative links
starting with "/support/article/slug-of-post".
When we translate a post that contains links to others posts of
documentation, we do not modify the relative links, since we don't
translate the slug of the post.
Since the link has not been modified, when the target post of the link is
translated, it will be displayed in the same language as the post in which
the link is located.
However, when a visitor, not connected to wordpress.org, clicks on a link
that targets a post not yet translated, a 404 error occurs.
Example, in the post:"Sauvegarder votre base de données"
(https://fr.wordpress.org/support/article/backing-up-your-database/)
the link Administration (/support/article/administration-screens/) in the
"Sauvegarder" paragraph (https://fr.wordpress.org/support/article/backing-
up-your-database/#sauvergarder) returns:
- 404 error - https://fr.wordpress.org/support/article/administration-
screens/, if the user isn’t connected to wordpress.org.
- https://fr.wordpress.org/support/article/administration-screens/ (not
yet translated), if the user is connected to wordpress.org.
How can this 404 error be corrected?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5487>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list