Comments (4)
If we are talking about the UI, I would go on https://github.com/yohanboniface/Leaflet.i18n because I know it suits my taste ;)
Not sure what would be the best way to make simple for plugins to inherit from this though. I need to think about it a bit.
About the backend, I'm not sure it needs internationalisation (eg. console outputs).
from kosmtik.
Yes, only UI, end users in mind not devs: they are supposed to understand English when working IMO.
from kosmtik.
The big picture would be something like:
- a way to compile every string to be translated from code base (maybe add a custom command, than uses Leaflet.I18n own command, but taking the kosmtik context into account to look for the right places without needing configuration)
- expose those strings to Transifex
- add a lang switcher somewhere on the UI (certainly on the top bar)
- make that i18n files are loaded/reloaded dynamically according to user lang choice
- define a sort of convention for plugins to be able to run the i18n command line and to expose their translated string (for example files go into
{plugin_root}/locale/{lang_code}.json
)
from kosmtik.
If you still plan to do it, I will make a polish translation for sure. =}
from kosmtik.
Related Issues (20)
- Cannot install on macos HOT 1
- kosmtik does not install on macos HOT 3
- kosmtik export-tiles HOT 1
- localconfig.js does not work HOT 1
- Cannot read property 'replace' of undefined HOT 1
- Data Inspector hangs HOT 1
- kosmtik-mbtiles-export installation issue
- Issue with Postgis Plugin when running openstreetmap-carto HOT 2
- Cannot install kosmtik on debian bulleyes HOT 1
- kosmtik export tiles HOT 2
- some problems on installation HOT 5
- mapnik-core 4.0.0 and proj6+ HOT 2
- Problem to visualize map HOT 2
- Potential security issue
- Fail instalation Node 16.14 Ubuntu 20 HOT 2
- Problem with Installation HOT 2
- node HOT 1
- Add to AUR
- Postgis Plugin: FATAL: Peer authentication failed HOT 1
- config not being applied? 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 kosmtik.