Skip to content

Nerdpress.org

…dev, tech problems and solutions.

Tag: Request

Posted on October 13, 2011

Symfony 2 – Set Default Locale On Form Login #2

A small update/correction out of sequence:

A few weeks ago i described how to hook into the form login process in order to change the user session´s locale.

In the meantime a non backwards compatible code modification has been introduced that outdated this article. From now on (Symfony 2.0.4) the locale and default locale settings are maintained within the request object (and not as used to be in the session).

So, here is a little update – under reserve – because the locale setting´s logic will probably change again in the future.

Continue reading “Symfony 2 – Set Default Locale On Form Login #2”

POWERED BY

Greensta Öko Webhosting

Tags

  • Ajax
  • Ant
  • API
  • Astro
  • composer
  • CSS
  • Dependency Injection
  • deploy
  • Deployment
  • Development
  • DIC
  • docker
  • docker-compose
  • Doctrine
  • Doctrine 2
  • eclipse
  • Firebug
  • Firefox
  • Git
  • HTML
  • Javascript
  • jQuery
  • links
  • mongodb
  • MySQL
  • node.js
  • PDT
  • PHP
  • php5
  • PHPUnit
  • Plugin
  • plugins
  • propel
  • Shell
  • silex
  • Silverstripe
  • Sqlite
  • Symfony
  • symfony 2
  • tools
  • Twig
  • Twig Extension
  • ubuntu
  • vServer
  • Wordpress

Categories

  • Admin
    • Apache
    • vServer
  • API
    • Documentation
  • CMS
    • Silverstripe
    • Wordpress
  • DB
    • MongoDB
    • MySQL
    • Sqlite
  • docker
  • eCommerce
    • magento
    • OXID
  • Frontend
    • Astro
    • CSS
    • Web components
  • JS
    • AJAX
    • Dojo Toolkit
    • jQuery
    • node.js
      • Express
    • NPM
    • socket.io
  • PHP
    • Composer
    • Doctrine ORM
    • PHPUnit
    • Silex
    • Symfony
    • Twig
  • Project Setup
    • Deployment
    • docker
    • docker-compose
    • Kubernetes
  • Software engineering
  • SSH
  • Tools
    • IDE
  • Uncategorized
  • Weekend Projects

Legal

  • Datenschutzerklärung
  • Impressum

Network

  • Ivo Bathke
  • web-development.cc

Social

  • @nerdpress_org@phpc.social
  • github.com/nerdpress-org
  • twitter.com/nerdpressblog
Proudly powered by WordPress
Manage Cookie Consent
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}