Comments (2)
@justvanrossum the localization approach started by @Aaron-212, even if very basic, is the right one, however there are some important requirements:
- adding support to plural forms (this is not trivial, it would be better to use some existing libraries)
- it should also be possible to simply localize strings used directly into html elements or attributes
- reading localization data from different
.json
files instead of hardcoding it inside.js
- we need a switch-language menu, and changes should be applied without refreshing the page.
from fontra.
We will consider for sure! I'd like to study your proposal more thoroughly, thanks for sharing.
I have zero experience with localizing web apps, and I'm curious what the best practices are.
@fabiocaccamo, can you have a look at the changes in the above fork, and can you say something about best practices surrounding localizations?
For translatations, we would have nearby experts for:
- Chinese
- Japanese
- Korean
- French
- German
- Dutch
from fontra.
Related Issues (20)
- Outline editor: command-A doesn't do the right thing when some points are already selected
- [designspace / fontra-workflow] we have two different ways to detect whether a glyph contains variable components
- [editor] Override/set line height in canvas HOT 1
- Set glyph source status color to 'None' HOT 1
- Display and edit vertical font metrics
- Show vertical metrics in canvas HOT 1
- Rename Multiple Axis Mapping to Cross-axis Mapping
- Implement interpolation for font-level sources
- Add 'Sources' font info panel, to edit font sources and vertical metrics
- TypeError: navigator.clipboard.read is not a function HOT 8
- Add new guideline, but guideline visualization is off HOT 1
- Localized translation falls back to "keys" when switching language before the font has fully loaded HOT 2
- Glyph guideline: name can not be set to empty string
- [designspace] Improve reading of vertical metrics
- [designspace] Implement writing of font sources
- Maintain a Fontra Axis Registry in Font Info > Axes > New Axis
- Add isSparse to sources panel UI
- [axes info panel] Some element ids are not unique
- [sources editor] Source keys should be random/uuid-like HOT 1
- [localization] Missing translations should fall back to English
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 fontra.