Comments (6)
@AymenLoukil let me know if you have any questions about the implementation of this feature. Have you tried running the local development environment as a first step?
from almanac.httparchive.org.
@rviscomi not yet, i'll try to do it today or tomorrow.
from almanac.httparchive.org.
@rviscomi the local environment is set up and running :)
First thing i remarked (not only about hreflang) :
- html lang should have en or ja only without any country code. We are targeting people speaking languages wherever they are
- Language code for Japaneese is ja and not jp
- / and /en/ should not have the same content. The "english" home page will be / or /en/ ? One should redirect to the other.
Regarding the hreflang implementation, should we do it static or dynamic to ensure the mapping is ok (bidirectional hreflang, in case of new translations added etc ?).
Who will develop the feature ?
from almanac.httparchive.org.
html lang should have en or ja only without any country code. We are targeting people speaking languages wherever they are
Sounds good. In #69 I've added Language objects that have all of the info you need, including both language codes and localized language codes.
Language code for Japaneese is ja and not jp
Yes, you're right. Is there anywhere that we have it wrong?
/ and /en/ should not have the same content. The "english" home page will be / or /en/ ? One should redirect to the other.
Oh interesting, this is something we've considered before but not for SEO. It would actually simplify the site a lot if we always serve content from the language-specific subdirectories. I'll make a new issue for this.
Regarding the hreflang implementation, should we do it static or dynamic to ensure the mapping is ok (bidirectional hreflang, in case of new translations added etc ?).
Should be dynamic. In 2019 we will support at least Japanese, Russian, and Spanish, but in future editions we might not have the same support. So it would be great if the template logic can build the hreflangs only for that year's supported languages.
Who will develop the feature ?
You? :)
from almanac.httparchive.org.
Hmm, i've never developed in Flask but i could try.. it should be fun :)
from almanac.httparchive.org.
PL #74
from almanac.httparchive.org.
Related Issues (20)
- Write 2022 foreword
- Credit contributors of closed chapters
- "2022" hangs off the edge on the home hero
- Put class name in `code`
- (nit) Issue with the 2022 seo chapter HOT 1
- Provide 2022 social sharing image HOT 1
- Hosting HOT 4
- Broken query link in 2022 JS fig 2.7 HOT 2
- Search results page lists years out of order HOT 3
- webassembly - @luckybai HOT 1
- Jamstack chapter: Netlify’s conflict of interest should be clearer HOT 4
- Investigate 0 web mentions HOT 6
- Update Lighthouse methodology to include desktop testing HOT 1
- Multiline blockquotes have different font sizes HOT 2
- Center align featured stats HOT 2
- Clean up stale branches HOT 1
- Feedback about dynamic `import()` in JS chapter HOT 3
- Publication dates are relative to client's timezone
- Accessibility 2022: "Half of all web searches are performed by voice" doesn’t fact-check
- Issue with the 2022 sustainability chapter Figure 20.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from almanac.httparchive.org.