intl Questions
2
Solved
The Intl extension is an extension for Twig that adds the localizeddate, localizednumber and localizedcurrency filters. How can I install and set up the extension so that I can use those filters in...
Jeffjeffcoat asked 20/9, 2014 at 12:39
6
macOS Mojave 10.14.3
PHP 7.1.23
Prestashop 1.7.5.1
I tried to install PHP intl extension on my local server in order to use Prestashop.
I added extension=php_intl.so to etc/php.ini
When I tr...
Nightie asked 22/3, 2019 at 14:1
3
Solved
I'm following this link to install this PHP extension but I'm stuck in the middle.
When I try to run this command pecl install intl I get this message:
Specify where ICU libraries and headers can b...
Scriptwriter asked 7/1, 2018 at 9:28
1
Solved
I have a decimal number with 4 digits and a scale of 4. (Max is 0.9999 and min is 0.0000)
I'm using Twig and its intl extension. When I want to render a percent number, decimals are rounded.
{% s...
Pasquale asked 1/11, 2019 at 16:54
7
Solved
I'm trying to convert, using PHP, 2 characters country codes (ISO 3166-1) to country names, or intl country codes, so I can translate the country name.
Using Locale::getDisplayRegion needs locale c...
3
I've learned flutter. I built an internationalized app using the intl
dependency (follow this)
I run 1st command well (no error message):
flutter packages pub run intl_translation:extract_to_arb...
2
Solved
I'm looking for a method to convert minutes into hours and minutes. I'm using the intl package through DateFormat but this requires both hours and minutes so it won't do.
If I have 100 minutes, I ...
4
Solved
I'm trying to normalize strings with characters like 'áéíóú' to 'aeiou' to simplify searches.
Following the response to this question I should use the Normalizer class to do it.
The problem is th...
Mcclurg asked 30/8, 2013 at 7:51
0
Is there a vay to get ICU version in PHP? With phpversion() I only managed to get the intl version, but I need to compare the ICU version to workaround some servers that have an older ICU version.
...
1
Solved
I'm trying to run php app that use locale_accept_from_http function from intl extension. My php version is 7.2 and I get an error: Call to undefined function locale_accept_from_http();
I was tryin...
2
Solved
Hi folks i am trying to install intl library on xampp for mac. I have installed php 5.3, so i just copied intl.so file from the php 5.3 location to Xampp bin folder. After that i uncommented extens...
3
Solved
I try to install Megento 2 on Xampp (php 7.2.5) and through installation process I find Intl extension installation error
I did every thing ;extension=intl to be extension=intl in php.ini
also ...
Datura asked 26/10, 2018 at 15:23
1
I´m installed Xampp in my Mac, the last version with Php7, all works fine, but in my Php proyect I´m using this function:
numfmt_format_currency()
I need install the intl, and edit the php.ini ...
2
Solved
I'm trying to install intl for php. When I'm running sudo pecl install intl it gives me an error No releases available for package "pecl.php.net/intl". I have tried to clear cache and also I tried ...
1
i have incoming date in exactly like this string:
myDate= ' 2017-05-05T12:24:06+0000'
i am using FormattedDate from 'react-intl' to achieve my desired format
12:24, 5 May 2017
But with this c...
7
I've been trying to get the intl extension working on my test workstation (PHP 5.5.1, Apache 2.2.4, Windows 7 32-bit). It seems that no matter what I try I can't get it up and running.
I've uncom...
2
Solved
I have installed php56-intl using Homebrew like so: brew install php56-intl
and when I do php -m | grep intl it gives me intl
But when I check in my phpinfo() file, doesn't show up intl.
Not sure...
3
Solved
I'm using the PHP NumberFormatter class to print currency values.
Eg:
$cFormatter = new NumberFormatter('en_US', NumberFormatter::CURRENCY);
$cFormatter->formatCurrency(123, 'USD');
$cForma...
Peterus asked 21/7, 2009 at 18:24
1
Solved
I'm trying to install intl extension on Os x El Capitan. Every time i run sudo pecl install intl, i'm getting following error on the last step. I don't know why the copy operation failed. Is it a b...
Odisodium asked 19/10, 2015 at 17:35
1
Sorry if this is a dupe - lots of similar questions but obviously if I could find an exact answer I wouldn't be asking :)
Note I'm coming from .Net and am a PHP newbie, so there may be noob-scale e...
Oxalis asked 20/4, 2014 at 16:42
1
I used Zend_Locale before but it's seems PHP intl extension have cldr information.
I need to get some info like get available countries for each language?
for example en has US, UK, GB and fa has ...
1
Solved
I have a quite strange issue here!
I am using Symfony2 with WAMP. When I visualise a path, lets say
mylocaldomain/blog/see_all
it works fine (Intl extension on PHP works fine).
However, when I...
2
Solved
this code works for english, spanish and german ordninal numbers, but with russian or italian ordninal numbers it doesn't work.
'ru-RU','it-IT' also don't work
I get for example in russian for 2 ...
Bradstreet asked 18/6, 2014 at 9:47
6
I want to set a precision of 0 when using the NumberFormatter PHP class (from Intl extension) with currency. However I've got some strange result. Here:
$numberFormatter = new NumberFormatter('en-...
Rettke asked 9/9, 2012 at 12:57
1
I have installed SonataAdmin Bundle. All is working fine but, when I add any user from dashboard, it throws a warning:
Warning: IntlDateFormatter::format(): datefmt_format: takes either an...
Bracteate asked 18/7, 2013 at 9:50
© 2022 - 2024 — McMap. All rights reserved.