Comments (7)
Hello, it makes sense, we can integrate Clowding with Armoria to add files locally. CDN was selected as it's really easy to update. With integration there should be some additional ci step, I will check it out.
from armoria.
I have established the integration, so localization files are create and moved to master, see https://github.com/Azgaar/Armoria/tree/master/public/locales. The problem is that there is no list of languages available and it's not obvious how UI will get this data. Checking CDN is not an option and there should be just 1 flow to follow.
from armoria.
Generally it looks we will have to request manifest from CDN in any case
from armoria.
Sounds a bit overcomplicated, but probably we can create github action to fetch manifest, get a list of languages and add it to the public folder. Something like that: https://github.com/hangwoo/crowdin-translation-progress/blob/master/index.js
Or that: https://github.com/marketplace/actions/fetch-api-data
from armoria.
@EternityForest, I see you are working on the idea. I believe there is a good way to get languages and other info using Crowding API. It's simple and very powerful. Using it we can automate the whole flow, including locale files download
from armoria.
I also see that you trying to create a manifest. Generally we don't need to do it, we just need a simple array of language codes. It can be comma-separated one-liner txt/csv or json. Or even js file to load it directly in UI without need to fetch.
from armoria.
Hello @EternityForest,
I have merged the PR and made some changes to the workflow. Mainly to be able to trigger it manually in case of issues. Also set relative path to the locales directory. Now it should be ok.
The only issue is that I had to manually reupload all translations to Crowding a source file was changes. So we lost all the comments.
Thanks for the help with it!
from armoria.
Related Issues (20)
- Issues with some of the new charges HOT 4
- Integrate with AI to auto-generate blazons HOT 2
- Use generative AI to generate explanation of elements HOT 2
- Generate mottos HOT 1
- Migrate to all-in-one SvelteKit HOT 9
- Support Marshalling HOT 3
- Ordinaries missing Variations HOT 7
- Loading issue with Semi/Conventional HOT 1
- Support i18n on code level
- Translate app into Russian
- Change tincture color from editor HOT 1
- Add a text box showing the symbolism and history of a selected charge HOT 3
- Combine charges HOT 2
- Simplified charges upload for well-known icon collections
- Add text elements HOT 1
- Semy HOT 3
- Color group can have 0 total chance HOT 1
- Scale issue HOT 2
- Sizing Issue HOT 8
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 armoria.