Parameters are not considered
See original GitHub issueI’m having a problem passing parameters. Despite having followed the guide, the parameters of the translation are not taken into consideration.
This is the svelte code
$t( 'PRIVACY_POLICY', { values: { link: 'abc' } } )
And this is the translation
"PRIVACY_POLICY": "Privacy <a href=\"{ link }\">policy</a>"
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Why are optional constructor parameters are not considered ...
I register this implementation as follows: Container.RegisterType(typeof(ITranslator), typeof(SignalTranslator));. Since all constructor ...
Read more >Consider parameters vs Solve-for parameters in regression
I'm trying to find the correct terminology to use to separate between "consider" parameters (included in the regression model, but held fixed ...
Read more >Parameter - Wikipedia
In frequentist estimation parameters are considered "fixed but unknown", whereas in Bayesian estimation they are treated as random variables, and their ...
Read more >Parameters not used by Planning Optimization | Dynamics 365
This article lists the parameters that Planning Optimization doesn't currently consider during its operation.
Read more >STAAD Connect - Unbraced Length Parameters Not ...
My member element in STAAD is only 0.61-m however I want to analyze it at 2.4-m because that's the total length of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If that’s the case you’ve proven that I should add some console warning if the specified locales folder doesn’t exist instead of silently doing nothing.
I checked and under normal circumstances the app already complaints if there aren’t any translation in the specified folder as soon as you try to import them.
Your scenario was rather unusual because the fact that you had already defined an alias for
src/locales
(I’ve just learned that user-defined aliases take precedence, although makes sense) means you never actually imported the locales so the library never kicked in and it didn’t have a chance to warn you.I’m going to close this issue and continue on #10