symfony/symfony — Issue #3198: Symfony 2 lowercase-uppercase the “i” letter locale bug
Author: RandomUser283
Created: 2012-01-27 10:34:08+00:00
State: open

PHP Version 5.3.5

Symfony Version 2.0.9 Standard

ArchLinux 3.1.6-1

Reproduce:

Change your locale to Turkish: "tr_TR.utf8"

Downloaded latest Symfony 2.0.9 Standard Edition and execute the script:

http://localhost/Symfony/web/app_dev.php/

Produces error:
ErrorException: Warning: constant() [function.constant]: Couldn't find constant Monolog\Logger::iNFO in /opt/lampp/htdocs/Symfony/vendor/symfony/src/Symfony/Bundle/MonologBundle/DependencyInjection/MonologExtension.php line 102

In Turkish language look at these letters:

Lowercase "i" turns to "İ" in uppercase.

Lowercase "ı" turns to "I" in uppercase.

I think this convention is where it conflicts with English language and causes this kind of errors.

Also an my entry about the bug in StackOverflow:

http://stackoverflow.com/questions/8969304/symfony-2-lowercase-uppercase-the-i-letter-locale-bug