You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
Note the difference in mdn_urlvalues. Some are with en-US and some are not.
We've talked before about at least dropping the absolute part with the domain. No doubt. But should we go for the locale prefix? My inclination is to NOT have the locale in there. Some day, the abbr.json file will be called something like packaged/en-US/html/reference/elements/abbr.json (or packaged/sv-SE/html/reference/elements/abbr.json) so that piece of information will be implicit.
However, it could be that the lazy Swedes haven't translated every page yet so they might want to link to the en-US version in their side bars because it's better to point the English content than to not link at all. So for that reason it might be good to have the locale in there.
The text was updated successfully, but these errors were encountered:
By the way, the current Stumptown-renderer does NOT have locales in the URLs like MDN does. If we're ever going to have a chance to migrate, I think we should stick with the MDN-like URLs and start using en-US in stumptown-renderer for now.
Based on that loud-thought I'm starting to think that the right thing to do is to always have the locale in the URIs. Always.
Looking at
packaged/html/reference/elements/abbr.json
for example.Looks like this:
Note the difference in
mdn_url
values. Some are withen-US
and some are not.We've talked before about at least dropping the absolute part with the domain. No doubt. But should we go for the locale prefix? My inclination is to NOT have the locale in there. Some day, the
abbr.json
file will be called something likepackaged/en-US/html/reference/elements/abbr.json
(orpackaged/sv-SE/html/reference/elements/abbr.json
) so that piece of information will be implicit.However, it could be that the lazy Swedes haven't translated every page yet so they might want to link to the en-US version in their side bars because it's better to point the English content than to not link at all. So for that reason it might be good to have the locale in there.
The text was updated successfully, but these errors were encountered: