Comments (7)
Hi, thanks for the question.
Although I am not on the forum, I read it.
I would follow the same approach mozilla/activate.mozilla.community is going, i.e. would pull the translation in from a data file or include.
(Disclaimer: I am a Mozillian and contributed to that project.)
Do you have a preferation about how the URL should look like?
from community-portal.
I'll watch the other two issues and reopen if there is a way to render multilanguage sitemaps.
from community-portal.
Hey, not entirely sure about the complete features of Jekyll yet, but I'd assume you could probably create localized versions of markdown files and then maybe just implement a selection box on the website to easily change around the language.
from community-portal.
Speaking of the forum: https://forum.fairphone.com/t/online-portal-for-fairphone-community/28956/11
Which posts would there be? Because there is a ruby lib for talking to the Discourse API (which is one reason why I went for Jekyll instead of, say, Hugo).
from community-portal.
Do you have a preferation about how the URL should look like?
In general I was thinking about fairphone.community/angels
(for example). Is it possible that we have fairphone.community/en/angels
and that the language is automatically inserted?
from community-portal.
Done.
I'll have to add the language switcher later on (I'll update todo part of README next).
Note, that en
is the default language at the moment.
I had to tweak jekyll-seo-tag to work with jekyll-multiple-languages-plugin a bit. That is, our default theme (minima) has jekyll-seo-tag
already included, so I had to disable the <title>
generation to make it translateable.
Browse http://localost:4000/de/angels/ for example.
from community-portal.
Looking into jekyll/jekyll-sitemap#88 and kurtsson/jekyll-multiple-languages-plugin#68 for multilang sitemap.xml.
from community-portal.
Related Issues (20)
- Explore the Discourse API gem
- Github Pages
- Pull data for community events from the page HOT 2
- Align with duke1102/FairphoneAngel-LandingPage about design HOT 1
- Look into WeAreFairphone/Community_identity for design
- Get inspiration from mozilla/activate.mozilla.community or learning.mozilla.org
- Best navigation design
- Fix navigation (look into former implementation)
- "WeAreFairphone" instead of "We Are Fairphone"
- JSON imports should be in normal type instead of italic type HOT 1
- Forum posts or GH files as "content feeders"? HOT 11
- Do multiple language really make sense? HOT 2
- Uniform layout HOT 11
- The Fairphone colour guide HOT 2
- Apply new community logo
- Fill teasers
- Turn TODO section into GitHub issues HOT 7
- Document how to find and install Jekyll plugins HOT 2
- Think about recommending rvm in installation instructions
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 community-portal.