laminas / laminas-mvc-i18n Goto Github PK
View Code? Open in Web Editor NEWIntegration between laminas-mvc and laminas-i18n
Home Page: https://docs.laminas.dev/laminas-mvc-i18n/
License: BSD 3-Clause "New" or "Revised" License
Integration between laminas-mvc and laminas-i18n
Home Page: https://docs.laminas.dev/laminas-mvc-i18n/
License: BSD 3-Clause "New" or "Revised" License
Originally posted by @samsonasik at zendframework/zend-mvc-i18n#12
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
composer.json
php ~8.1.0 || ~8.2.0 || ~8.3.0
container-interop/container-interop ^1.1
laminas/laminas-i18n ^2.13.0
laminas/laminas-router ^3.5.0
laminas/laminas-servicemanager ^3.15.1
laminas/laminas-stdlib ^3.10.1
laminas/laminas-validator ^2.19.0
laminas/laminas-coding-standard ~2.5.0
phpspec/prophecy-phpunit ^2.0.2
phpunit/phpunit ^9.6.13
psalm/plugin-phpunit ^0.19.0
vimeo/psalm ^5.15
.github/workflows/continuous-integration.yml
.github/workflows/docs-build.yml
.github/workflows/release-on-milestone-closed.yml
Hi everyone,
I successfully installed the zend-mvc-i18n in my ZF3 project and when I change the default language manually the message change.
But i'm stuck with this:
I use this two URL to change on fly the language between en_US and fr_FR
<?= $this->url($this->route, array('lang' => 'en_US'));?>
<?= $this->url($this->route, array('lang' => 'fr_FR'));?>
but it doesn't work et used also a javascript function:
function editLocaleLangue(pRoute) {
$.ajax({
type: "POST",
url: '/language',
data: "idLangue=" + pRoute,
dataType: "json",
success: function (data) {
},
complete: function (xhr, status) {
window.location.reload();
}
});
}
also it's not working.
Help please !
Originally posted by @akram82Travel at zendframework/zend-mvc-i18n#19
Q | A |
---|---|
QA | yes |
As decided during the Technical-Steering-Committee Meeting on August 3rd, 2020, Laminas wants to implement vimeo/psalm in all packages.
Implementing psalm is quite easy.
.psalm.xml.dist
in the project root$ composer require vimeo/psalm
$ vendor/bin/psalm --set-baseline=psalm-baseline.xml
static-analysis
with the command psalm --shepherd --stats
script:
in .travis.yml
: - if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi
phpstan.neon.dist
, .travis.yml
entry, composer.json
require-dev
and scripts
)Q | A |
---|---|
New Feature | yes |
To be prepared for the december release of PHP 8.0, this repository has some additional TODOs to be tested against the new major version.
In order to make this repository compatible, one has to follow these steps:
composer.json
to provide support for PHP 8.0 by adding the constraint ~8.0.0
composer.json
to drop support for PHP less than 7.3composer.json
to implement phpunit 9.3 which supports PHP 7.3+.travis.yml
to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs
to COMPOSER_ARGS
env variable).travis.yml
to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)Q | A |
---|---|
New Feature | yes |
PHP with version 8.1 is released and for this component the support of the new version is still missing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.