Comments (3)
@itayod I entered the default value src/assets/i18n
. It confused me because I expected this path to be relative to my application directory apps/my-app
, not the project root. Just like others files added by the schematic.
from transloco.
@Edouardbozon thanks for your input, I changed the script so the given path
will be relative to the application as you suggested.
We also decided to remove this question from ng-add
, as assetes/i18n
it's pretty much the standard library for the translation files, and install it under the correct relative path.
I still left the option to set a different path that will also be relative to the project using -path
flag :)
from transloco.
@Edouardbozon What path did you enter in the 3rd question (✍ Which folder will contain the translation files?)?
from transloco.
Related Issues (20)
- Bug(transloco): transloco pipe does not support loadingTpl when template is provided
- Bug(transloco): Loader with scope not working for NotFound route expression ** HOT 1
- Bug(preload-langs): NullInjectorError: No provider for TranslocoPreloadLangsService | Angular 16 HOT 3
- ng-add Path "undefined" does not exist HOT 14
- Docs for unit tests, broken links HOT 3
- Chore: 🤖 upgrade to angular v17 HOT 10
- Feature(transloco): allow option to disable loading language files at root i18n level
- Bug(tranloco): provideTranslocoTranspiler does not work with FunctionalTranspiler HOT 1
- Bug(transloco): Multiple languages on the application simultaneously with pipe HOT 4
- Bug(transloco-optimize): Translation broken in production HOT 4
- Feature(transloco): use fallback language for resolving referenced keys
- Bug(scope): inflight 1.0.6 dependency has security issue.
- Bug(scope): Unit tests failing with standalone components
- Bug(scope): scoped extractions prefixed not working HOT 3
- Bug(scope): Error when trying to load MFE within host using module federation (unless giving the same setup in host) HOT 1
- Proper changelogs... HOT 2
- Bug(scope): logging "missing translation key" when ssr is enabled HOT 1
- Feature(Docs): Another way for preloading languages to discuss
- Feature(transloco|transloco-locale): Provide complete type definitions for pipes used in strict mode HOT 1
- Can't add Transloco to a project: collection.json does not exist 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 transloco.