I have a Symfony application that I develop on OS X and deploy to Debian Jessie, both running PHP 5.6.12. The Symfony (standard edition) version is the same on both systems: 2.7.3. The translator service is not enabled, the default_locale
is set to de
(German) on both systems, and there are no configuration differences in respect to I18n or locale handling.
In this application, there is a form that uses the “money” field type, with the currency
set to EUR
. On OS X, the field value is displayed with comma as decimal separator (as it is common in German) and with the “€” symbol after the field. On Debian Jessie, the decimal separator is a dot, and the “€” symbol is displayed left to the field. This behavior is the same for clients sending different “Accept-Language” request headers.
My questions are:
- What can I do to make the Debian installation behave like the OS X installation, i.e. respect the
de
locale? Or asked differently: where might the difference in behavior come from? - The Sf2 documentation says “Depending on the currency - the currency symbol may be shown before or after the input text field.” On both systems, the currency is the same, but yet the behavior differs, so I guess the documentation is inaccurate. Or am I completely missing something?