Comments (3)
Got ya. Let me see what I can do.
from easygettext.
I'm pretty sure it could work, but this needs code. Please submit a PR !
from easygettext.
Had a look. It's a bit challenging for me.
Would you implement this as a filter? I.e. as an addition to this test:
should extract filters with various patterns
I tried it this way but got stuck because this doesn't really go well with the filters code:
'<h1 :label="$gettext(\'Pink Panther\')">';
Because it's not really a filter obviously. I guess.
But I'm not sure where it makes most sense to try an implementation.
Happy for any hints and pointers. Thx!
from easygettext.
Related Issues (20)
- Vue js <i18n>
- Incorrect processing of <br> tags when exporting HOT 2
- Sort generated strings by file occurrence
- gettext-extract - Unexpected Token (
- How to compile from pug files that uses pug locals? HOT 1
- Escape quotes bug HOT 1
- How to use gettext-extract? HOT 2
- Add an option to disable parsing JavaScript HOT 9
- Better support for HTML tags inside translated strings HOT 4
- How to use with Pug for server-side localization? HOT 3
- SyntaxError: Unexpected token when extracting .vue file with JSX expression HOT 1
- Extracting from html file is broken HOT 2
- Support nativescript-vue/multiple templates HOT 4
- extract of pure js files is not working ... HOT 7
- Support optional chaining HOT 3
- HTML broken since 2.10.0 HOT 5
- Feature request: use peer/optional dependencies to reduce node_modules HOT 2
- 2.14.0 stopped extracting strings from some Vue components HOT 9
- Upgrade acorn to 7.4 because of acorn-stage v4 dependency
- Option to output a json file per locale
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 easygettext.