seeyouspacecorgi / cooklang-obsidian Goto Github PK
View Code? Open in Web Editor NEWThis project forked from cooklang/cooklang-obsidian
Edit and display CookLang recipes in Obsidian
License: MIT License
This project forked from cooklang/cooklang-obsidian
Edit and display CookLang recipes in Obsidian
License: MIT License
The current language is currently being read from Obsidian's metadata, which is fine for most uses. Do you think it would be feasible to apply the localization according to the recipe's own metadata? This way, we could allow for recipes in different languages in the same vault.
A recipe could have something like:
>> language: it
which indicates that that recipe is in Italian, while others keep their own value or the default one.
I've noticed some text labels are not translated. For instance, if I insert a timer with ~{19%minuti}
and another one with ~{4%ore}
, this is what I get:
The timer in hours (4 ore) is ignored for the total time if it's written in Italian, while it's counted if I write ~{4%hours}
, which doesn't happen with minuti/minutes - but this is probably out of the scope of this fork - I'm not sure about this.
However, what I wanted to point out is that the timers list uses the values verbatim, but the total time uses its own "hours" and "minutes" labels. Can we translate those ones too? I'll take a look into that if I manage to, but maybe you already know where to look.
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.