Comments (7)
@nkosi23 you're right, it's not the precise same use case.
I did try out that library but it didn't really work as I had hoped, so had to make my own.
from angular.
Is the below what you are looking for?
https://github.com/daniel-sc/ng-extract-i18n-merge
I agree that it should be included in the core i18n library, because i fail to see how the i18n can be useful for real projects without such a tool
from angular.
Is the below what you are looking for?
https://github.com/daniel-sc/ng-extract-i18n-merge
I agree that it should be included in the core i18n library, because i fail to see how the i18n can be useful for real projects without such a tool
No, from my understanding this does not include my requested feature. It's about updating the source language file from the source code but still only one way. If you want this functionality it's a separate feature request.
from angular.
Is the below what you are looking for?
https://github.com/daniel-sc/ng-extract-i18n-merge
I agree that it should be included in the core i18n library, because i fail to see how the i18n can be useful for real projects without such a toolNo, from my understanding this does not include my requested feature. It's about updating the source language file from the source code but still only one way. If you want this functionality it's a separate feature request.
I was just trying to help, not trying to hijack your thread. All right, at least it helped clarified what you are after as other people are likely to misinterpret your request like as i did.
For this is quite an unusual request, you may want to clarify your use case and give examples of other tools achieving what you are after to increase your chances of getting an answer from someone who can help. I've written a couple of localization tools but can't remember coming across such a feature, nor feeling that I needed it
I am not saying this to dismiss your use case, just to highlight that it may feel weird to other people that you'd need something like that, that's why I assumed that you were approaching your problem from the wrong angle and actually needed the extract-merge library.
from angular.
I also ended up writing my own script, because extract only creates new translation files but cannot update existing. So once run 1. time, it's game over basically.
from angular.
I also ended up writing my own script, because extract only creates new translation files but cannot update existing. So once run 1. time, it's game over basically.
This is not what he is requesting apparently,for this use case you can use the library i posted above.
from angular.
I guess what I'm requesting is the reverse operation of how extract-i18n
should work.
I'm not sure if this feature request should include expanding the functionality of the original cli command, too.
from angular.
Related Issues (20)
- NgZoneSchedulingMode not exported HOT 1
- Page Not Found HOT 1
- Functions are missing from localForage after updating Angular to latest version HOT 2
- "updateOn: 'blur'" does not work in formBuilder/formControl HOT 11
- App-shell docs are out-of-date
- https://angular.dev/guide/security not found HOT 2
- Destroy component itself HOT 5
- Image lazy loading doesn't work in SSR when using ngTemplateOutlet and disabled hydration
- @angular/compiler `parseTemplate` fn does not properly parse `HTML` string element text content containing `@` HOT 2
- Angular 17 SSR: Slow server response time when using wildcard route HOT 5
- ERROR LOADING PAGES AFTER USE router.navigate
- SSR fails when root AppComponent in index.html is self-closing HOT 1
- foo = signal(''): if string is empty, !!foo () returns false HOT 1
- Form input mask provided by the framework HOT 6
- [Feature] Introduce Type-safe Token Providing HOT 6
- docs: `inject()` is missing all overloads
- Add distinction between model() and model.required() on type level HOT 1
- Standalone Component Exports HOT 1
- Set ViewEncapsulation per module HOT 2
- setting signal outside of angular zone error HOT 3
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 angular.