Questions tagged [intl]

Intl is a PHP extension which give ability to use Unicode, software internationalization (I18N) and globalization (G11N) from the ICU library.

Intl is the short description for Internationalization.

It's a PHP extension which create a wrapper for the library.

There are several modules available:

More information can be found on the PHP.net documentation.

434 questions
0
votes
3 answers

PHP Variable/Array Value(s) Lower Cased Periodically

I am currently having an issue with random strings in either variables or array values being lower cased periodically. Here is an example of what I'm seeing with an array: $modules = array("Dashboard", "Calendar", "Maintenance", "Service Orders",…
kandrews
  • 1
  • 3
0
votes
1 answer

CentOS 5 - Install PHP intl

Server: CENTOS 5.11 i686 WHM 54.0 I've tried several approaches installing intl PHP extension. First approach is straight forward. In WHM i enter PHP PECL, and when trying to install intl: downloading intl-3.0.0.tgz ... Starting to download…
Dimdum
  • 322
  • 2
  • 15
0
votes
1 answer

Localizing Dates in CakePHP 3 does not work

i try to localize the input and output in my app to german and encounter problems with the following setup: Installed CakePHP 3.2.1 via SSH/Composer on my hosted WebSpace. Created a database with only one table "invoices" for testing, with columns…
TheDude
  • 1
  • 1
0
votes
0 answers

CakePHP 3 extension=php_intl.dll

I am trying to push my CakePHP to my Mac I called phpinfo to see where my php.ini lies - open it and uncommented the extension - usually that did the trick, but it still throws the error and in the phpinfo() it never showed. Any idea?
Isengo
  • 2,004
  • 3
  • 21
  • 43
0
votes
3 answers

Perform functions with the value user selects from a dropdown in Javascript

Can I get some help to perform some functions when a user selects an item in dropdown list? First, below code shows a dropdown with locales one can select from. Code that shows a dropdown with different locales:

Please select a…

0
votes
1 answer

Valid currency formats by locale

Does anyone know where I can get a list of valid currency formats by locale code? I've extracted formats from Intl (js object) and compared to those, which we can see in Windows Regional Settings and saw that they are different. For example, for…
Gino Pane
  • 4,740
  • 5
  • 31
  • 46
0
votes
1 answer

symfony2 asks for intl extension and its already installed

I installed installed intl extension by setting extension=intl.so in my php.ini on my Macbook Pro Yosemite but still symfony 2.7 is asking for it. See in the picture the error. Does anyone have any idea how to solve it? Thank you.
null085
  • 1
  • 1
0
votes
1 answer

installing intl entension on php5.4.4

I am trying to install intl extension on php 5.4.4 having centos, I have a zip file which I downloaded from http://isolherbal.com/nha/playground_clone/webservices/test_webservices I downloaded version 3.0.0 But from here I do not know where to go…
Arpita
  • 1,386
  • 1
  • 15
  • 35
0
votes
1 answer

php IntlDateFormatter::formatObject, renders incorrect months

For some reason i cant make date Formatter to work. Here is my function: function renderDate($format, $date) { $cal = IntlCalendar::fromDateTime($date); return IntlDateFormatter::formatObject($cal, $format); } Here is the code: …
Alko
  • 1,421
  • 5
  • 25
  • 51
0
votes
0 answers

Zend Framework 2 IntlDateFormatter not show date in view

I have installed the INTL in my apache with Yosemite OSX In my database, set the Date But in my View this date doesn't show, why? dateFormat($post['post_date'], \IntlDateFormatter::SHORT, \IntlDateFormatter::SHORT,…
user2227682
  • 73
  • 1
  • 2
  • 8
0
votes
2 answers

Is it possible to override Symfony Intl JSON data?

Is it possible to override json data under symfony/src/Symfony/Component/Intl/Resources? For example, in data/languages/en.json I would like to change "zh": "Chinese" to be more specifically "zh": "Mandarin Chinese".
nurikabe
  • 3,802
  • 2
  • 31
  • 39
0
votes
0 answers

Installing php extensions in openwrt

I am using OpenWRT Barrier Breaker on a Microtik rb450g router board. To run php on OpenWRT, I installed php5 packages using opkg. But now i need to install php extension specifically intl extension so far i learnt that it can be configured by pecl…
0
votes
2 answers

Intl PHP extension not working

I want to use https://github.com/juriansluiman/SlmLocale module in zend framework-2 and need intl extension, I have installed using pecl and it show success. I had added extension=intl.so and restarted my MAMP-Pro, I had tried other links as well:…
Harshal Bulsara
  • 7,898
  • 4
  • 43
  • 61
0
votes
0 answers

Problems with Intl extension

I'm really struggling with this.. I'm developing a cms web application, using Symfony. I have installed a few cms bundles just to test. But in all of them get the error: Please install the "intl" extension for full localization capabilities. This…
JMG
  • 40
  • 5
0
votes
1 answer

ICU compiler not found or not working for PHP intl extension

I am trying to install the intl PHP extension for Symfony 2. To install it I need to provide the path to the ICU binaries. I have downloaded and installed ICU on my VM but when I run the configuring for Linux I get: checking for gettimeofday...…