Comments (3)
could you post (gist.github.com) your config please.
one solution that comes to mind is to set the 'shared' flag on the https://github.com/juriansluiman/SlmLocale/blob/master/src/SlmLocale/Strategy/StrategyPluginManager.php#L52 to false.
from slmlocale.
Your solution is the right one. I set shareByDefault
to false
: protected $shareByDefault = false;
in a custom strategy plugin manager inherited from strategyPluginManager
and that works.
@juriansluiman Should we set this by default to false
in strategyPluginManager
since it does not break current tests?
from slmlocale.
@jbenoit2011 I think default behavior is correct you don't have to change this in StrategyPluginManager
you can set this in your config zend-servicemanager
documentation https://zendframework.github.io/zend-servicemanager/configuring-the-service-manager/#shared
from slmlocale.
Related Issues (20)
- PHP 8.0 support HOT 7
- Fatal error: Uncaught exception 'Zend\ServiceManager\Exception\ServiceNotFoundException' HOT 4
- how can i render combobox : $this->LocaleMenu() HOT 5
- Explain pls why you're use "-" as delimiter instead of "_" in all examples on the page HOT 6
- Translator can't recognize slm_locale language HOT 8
- HostStrategy forwards to domain.de-de HOT 5
- Where are the versions gone above 1.* ?
- How to install this module? HOT 15
- Strange behaviour of the routes and asset paths broken HOT 4
- Conflict with the module ZfTable | Deactivate dynamically the locale strategy HOT 3
- SlmLocale doesn't work with method router and verb = POST HOT 2
- ZF3 compatibility HOT 19
- How could i switch Locale? HOT 1
- Drop unsupported PHP versions HOT 8
- Add code coverage HOT 1
- create develop branch HOT 2
- Packagist did not update new version HOT 1
- Missing ServiceLocator 2.x dependency injection for UriPathStrategy HOT 11
- Breaks console usage HOT 2
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 slmlocale.