Comments (9)
IMO we should use front-end tools for front-end purpose. Particularly, if we decide to distribute front-end applications as NPM packages.
from richie.
Do you have any third-party app in mind to achieve this?
from richie.
Translation management
I think SaaS is the way to go.
Transifex seems like the most established choice if we're eligible for Transifex for Open Source.
We can also consider Crowdin. I'm familiar with Smartling but their pricing is opaque, they don't seem to have support open source, and their workflows are more geared towards marketing sites translated by third-parties than actual product string management.
Tooling
It seems there's nothing as simple as I would have hoped (and what we used to have in Angular 1) but there seems to be some adequate tools.
The most promising one is React-intl along with its very own parser.
- takes care of our translations needs
- handles dates & times (so we could get rid of moment?)
- uses standards
- needs string IDs (a hassle)
- not sure there are active maintainers anymore
It would also require us to use babel to get the benefit of its parser plugin. This does complicate the build process. However, string extraction is actually one of the painful parts of handling i18n so I think it could be worth it.
As a side benefit we could get to use babel's polyfilling.
from richie.
Thought on this topic @sampaccoud @jmaupetit ?
from richie.
Hi, for online translation tool there is also:
from richie.
I'm not qualified but React-intl seems to be the default choice for i18n with React.
Maybe we have more time to discuss the translation tool.
from richie.
I will handle this as soon as #253 is done. I made a quick POC and string extraction is working fine with the babel-plugin extractor.
from richie.
When you was talking about babel i didn't catch you was talking of babel compiler. In fact i was thinking about python-babel.
I don't know if a Python solution would nicely integrate in your processes but just want to say that python-babel has some React support through JSX message extraction. I can help you with it if needed.
from richie.
This issue was solved in PR #566
from richie.
Related Issues (20)
- DNS-prefetch media domain
- Error synchronizing Richie <-> Tutor with the tutor-richie plugin HOT 1
- Simple text input doesn't allow links to set target HOT 3
- Error No module named 'requests' using Open edX connection HOT 1
- Make icon sizes homogeneous
- Create a generic and simpler approach to errors
- Share course by email can't change reference to Richie HOT 2
- Refactoring - Gradeo widget HOT 1
- Draft item
- Create a LMS Handler to recognize course runs managed by Joanie HOT 1
- Incorrect course search links with different courses parent page and search page HOT 2
- EACCES: permission denied during make bootstrap HOT 1
- Cookiecutter - Bootstrap blocked by prompt HOT 5
- Organization courses should by listed with course runs in mind HOT 3
- Migrations are not applied within makefile task 'bootstrap' HOT 1
- Add a Storybook CI job
- CourseProductItem - No error message when enrollment request fail
- CourseProductItem - Prevent user to purchase a product without any course run.
- CourseRunEnrollment - CourseRun managed by Joanie
- Syllabus - Missing label "No other course runs" HOT 1
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 richie.