Comments (3)
The lint configuration is unaware of patterns used by translations, as they're essentially two different plugins. The official way of doing what you want is by using the lint_translations.ignore
config. It currently doesn't accept glob patterns, but given how you're planning to use it, I think it makes sense adding support for it. I'll work on that.
from i18n-js.
having patterns support in lint_translations.ignore
would be useful, e.g. ignore all *.active_admin.*
things
how would you approach the task? ruby is not my strongest suit, appreciate a pointer in the right direction 🙏
from i18n-js.
Hey! #724 fixes this issue, could it be possible to merge this? 🙏
from i18n-js.
Related Issues (20)
- Feature Request: Have the I18nJS.listen call be lazy
- Migration guide does not discuss backends HOT 2
- Bug: HOT 1
- Bug: I18n.t is not a function & I18n is not defined HOT 1
- Bug: multiple locales dir in listen configuration require to specify full path, not relative
- Feature Request:
- Bug: scope and options should be read-only HOT 7
- Bug: `proc` rules should be cleared from exported JSON localization files HOT 1
- Bug: deep sorting for keys missed HOT 2
- Feature Request: Mechanism to specify explicit order of plugins HOT 2
- Bug: overwriting identical exported JSON localization files HOT 2
- Bug: Unable to resolve make-plural HOT 2
- Bug: i18n lint fails when using plugins HOT 3
- Get currently used translation HOT 1
- Feature Request: Support `esmodule` HOT 1
- Bug: SyntaxError: Unexpected token 'export' HOT 4
- Bug: While trying to resolve module `make-plural` HOT 1
- Bug: i18n-js is not compatible with Vite HOT 2
- Bug: Failed to load resource node_modules/i18n-js: the server responded with a status of 404 (Not Found)
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 i18n-js.