Comments (4)
There currently is no way of doing this unless you go through the files yourself and translate the stuff you need into the language of your choice.
It would be nice to have language support in the interface. I could work on something but, it would take a while to get it done and ready for general use
from live_map-interface.
Where can i change it? Which file?
from live_map-interface.
mainly the index.html file but, there's text everywhere through the JS files as well
from live_map-interface.
Implemented in the following commits:
d2050ae
6ff88be
e9b27e1
b6fa62e
9caff2c
If you want your language to be added, then you will need to translate the following JSON file:
{
"title" : "Havoc's LiveMap",
"credit": "This was originally created by ",
"navbar":{
"select-server" : "Select a server",
"controls" : "Show Controls",
"blips": "Blip controls",
"language": "Language"
},
"generic": {
"on" : "On",
"off" : "Off",
"connected" : "Connected",
"disconnected": "Disconnected",
"close": "Close"
},
"controls" : {
"title" : "Controls",
"blips" : {
"title" : "Blips",
"refresh": "Refresh Blips",
"show" : "Show Blips"
},
"connection": {
"title": "Connections",
"live-update": "Live Update",
"reconnect" : "Reconnect"
},
"information": {
"title": "Information",
"viewing": "Currently viewing",
"blips-loaded": "Blips loaded",
"players": "Player Count"
},
"track-player": "Track a player",
"filter": {
"title": "Filter",
"filter-value": "With a value of",
"filter-placeholder": "Some value"
}
},
"blip-controls": {
"title": "Blip Controls",
"toggle": "Toggle all"
}
}
If you wan to add it your self, just add a new JSON file under the "translations" directory with the name {{language_code}}.json
(Where language code can be found at https://www.science.co.il/language/Locale-codes.php).
Then, just add it to the manifest.json
file for users to be able to use it. With the language code as the key and the name of the language (in it's own language) as the value.
{
"en": "English",
"es": "Español"
}
from live_map-interface.
Related Issues (20)
- Issue with map loading multiple times HOT 4
- Livemap website displaying "Not Found"
- update available bug HOT 1
- Interface fails to load over HTTPS HOT 22
- Interface select automatic the system language. HOT 1
- Add images to readme
- Server connects with interface but players do not show. At least I think it connects HOT 6
- Error in config HOT 15
- Uncaught Error: Cannot find module './init.js' HOT 6
- Blips persist after switching servers HOT 2
- Players not show HOT 5
- Language not being persisted
- No Players Shown on Map HOT 3
- Password UI to access the livemap. HOT 1
- Cant access Websocket HOT 4
- Show PolyZone on map HOT 1
- cors issue HOT 2
- no player markers HOT 7
- question about some js code HOT 1
- Better marker file HOT 2
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 live_map-interface.