casimirkapazi / vortoj Goto Github PK
View Code? Open in Web Editor NEWMod to provide server side item translations for Minetest
Home Page: https://forum.minetest.net/viewtopic.php?t=8497
Mod to provide server side item translations for Minetest
Home Page: https://forum.minetest.net/viewtopic.php?t=8497
The translations currently set a global. They should just return the translation table, then init.lua can do local vortoj = dofile([...])
.
Currently the translation files have all-caps language codes and init.lua checks for then case-sensitively. This should work on case-insensitive fileyestem implementations (eg, HFS+, Windows's default NTFS API, and the FAT family I think) but will fail on all others if the code doesn't happen to be all caps in the config (and it's usually lowercase).
Init.lua should use string.upper() to ensure the case doesn't matter.
There should be a notice how you can use the translations. Or is it the same license as the code (GPLv3)? (Then I can't use it for https://github.com/minetest-mods/mtg_i18n)
This would allow using it also on servers, if overriding items is possible, it's a lot easier than making intllib work client-side.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.