1000nettles / foundry-magic-l10n Goto Github PK
View Code? Open in Web Editor NEWA CLI tool for interacting with the Foundry Magic L18n service.
License: MIT License
A CLI tool for interacting with the Foundry Magic L18n service.
License: MIT License
After consulting with @1000nettles, this package was made with a strict "key" : "string"
JSON structure in mind. Some foundry packages use a structure like so.
{
"packagename-key" : {
"string-key": "string-value to be translated"
}
}
foundry-magic-l10n currently doesn't support this. It seems to output only the first string value for each object.
See #2 , for us doing the localization I see great potential in this tool for easing the burden on modules that we want to preemptively push localization for.
As such it would help a lot if we could just specify one single language for the tool to work on, so that it doesn't take up processing resources for languages that the user can't handle.
So I figured that instead of letting module developers do it, I could just run this tool myself and pre-emptively provide a localization file for them. That way the machine translation eases the burden of the person doing the localization.
I installed this on my windows machine, ran it, and got the following error. I am using a random repository URL I got from the latest releases, but it does seem to give me this error with many different packages.
> foundry-magic-l10n.cmd run https://github.com/bitkiller0/SIFToolkit/blob/main/module.json
Manifest URL is valid, submitting to the Foundry Magic L10n service...
There was an issue connecting to the Foundry Magic L10n service: Provided manifest is not valid JSON: Unexpected token < in JSON at position 0
Am I doing something wrong?
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.