Comments (6)
I would recommend using i18n files rather than maintaining parallel branches. You could use a plugin such as https://kazupon.github.io/vue-i18n/, then keep all the messages in separate files i18n/en.json
, i18n/fr.json
etc.
from covidtrends.
I would love to see translations! Thank you for suggesting this.
Currently I am imaging parallel branches of this website with the content translated, hosted on other peoples github accounts. We can create a translations page over here that links to sites with translations of this page in different languages, and then link to this translations page in the footer of the website. Or if there are fewer languages, we can just link directly in the footer.
Open to other thoughts on how to go about this.
from covidtrends.
As an open source project you would even be able to get your translations done for free by the TranslateWiki community. This is the same site that does translations for Wikipedia, OpenStreetMap and others. However this might be a bit too much effort to setup and maintain.
from covidtrends.
Interesting! Let's look into these options. cc @mustpax
from covidtrends.
Labeling this as a question so we can gather input on how best to implement translations (and as a note to self to look more into the options above)
from covidtrends.
I second the opinion to added lib for handling translations.
Since the number of text entries would be relatively low, we could start with single js/json for all languages.
Not sure where would the language selector go. (header / footer / aside)
from covidtrends.
Related Issues (20)
- selectAll should select all visible regions
- Rhode Island now not reporting data on Sat. & Sun.
- Suggestion: Add Hospitalizations as a Parameter
- Feature Request: Identify countries based on their growth rates.
- Data for Scotland
- Feature Request: per capita rates HOT 10
- Add breakdown per region for Russia
- Horizontal Gridlines are not Consistent across decades
- Reset the Count or provide it as an option. HOT 1
- Extend current work to capture R-effective which help model trends, causal anal HOT 1
- Mobile website
- Option for infection rate per 100K population? HOT 3
- Top 10/20 countries
- Data for Massachusetts displaying weird HOT 7
- Switch for absolte and per 1M oder 100.000 people HOT 2
- add average marker
- data coherence problem HOT 1
- Is this project still maintained? HOT 1
- Relative scale by population HOT 2
- Add vaccination stats
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 covidtrends.