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
0 answers

php intl extension fail

My php extension intl failed. The php.ini is open extension=php_intl.dll, and php/ext dir have file php_intl.dll. Copy icu.*.dll to Windows/System32 and Windows/SysWOW64, but phpinfo() shows not intl extension .
0
votes
1 answer

PHP Extension intl permission on macOS

I installed PHP extension INTL using Homebrew. This is my code to test it if (extension_loaded('intl')) { die('SUCCESS! The intl extension is enabled!'); } else { die('OOPS! The intl extension is not enabled!'); } In CLI after executing…
Piotrek Zatorski
  • 494
  • 5
  • 15
0
votes
2 answers

Incorrect Hijri date in PHP Intl

Today is 27 Ramadan 1438 in Asia/Tehran. but PHP Intl says today is 28 Ramadan 1438. Anyone know what the problem is? $DateTime = new DateTime(); $IntlDateFormatter = new IntlDateFormatter( 'en_US@calendar=islamic', …
Hossein
  • 3,755
  • 2
  • 29
  • 39
0
votes
3 answers

missing php intl & xsl extensions while installing Magento 2 on readiness check point

I'm trying to run the Magento installer on Windows 7 with MAMP 3.3.0 . When I do that Readiness Check says to me that: xsl & intl extension is missing. I have both dll in the /ext dir . I have two php.ini files in conf\php7.0.13\ dir :…
Artem.M.
  • 1
  • 1
  • 4
0
votes
2 answers

Cakephp i18n - Constructor failed - Intl Exception

I recently extracted strings from the app I'm building with Cakephp thanks to their awesome i18n Shell. I then made a translation (from French to English) and put the files in src/Locale: src/ Locale/ default.po fr/ …
WitoldW
  • 749
  • 10
  • 11
0
votes
1 answer

extensions xsl and intl are missing (need them to run Magento2). I'm using Windows 8.1

I installed php7.0.15/apache2.4.25/phpMyAdmin 4.6.5.2 via xampp, but it turns out that the extensions xsl and intl are missing (need them to run Magento2). I'm using Windows 8.1. Both files php_xsl.dll and php_intl.dll exist in xampp/php/ext and I…
johhan
  • 1
0
votes
2 answers

Can't find intl php

I'm running Xampp on Ubuntu 16.04 and I'm trying to get CakePhp to work. After uncommenting the line corresponding to the extension in php.ini, I keep getting this message when running php: PHP Warning: PHP Startup: Unable to load dynamic library…
aslad
  • 120
  • 11
0
votes
1 answer

PHP IntlDateFormatter::format returns empty value for timezone

This code works as expected on my test machine but fails on production. Not sure what's wrong with the setup, the only difference is ICU version I guess.
Andrey
  • 993
  • 1
  • 11
  • 20
0
votes
2 answers

What is the best way to load a different text file in a different languages for a UWP app?

I have a UWP app that has a set of text files, one for every language that we support. I want to read the contents of one text file based on the language that the system is set to. For example lets say the text file is called MyTextFile.txt and…
0
votes
1 answer

Symfony 2 on vagrant virtualbox laravel/homestead different results on 2 systems, one still needs intl extension

I am getting something really weird. So I use Laravel projects with vagrant already. But I need to install Symfony2. Therefore I adapt my Homestead.yaml files on both PC and Laptop(both systems running Linux Mint 17.3, KDE). I added the latest…
metanerd
  • 713
  • 1
  • 6
  • 21
0
votes
1 answer

php intl not supported by hosting provider

i have planned to install cakephp for my website. however php intl is not supported by the host (a requirement for cakephp). there are cakephp intl plugins available in git. Is it ok to use the intl plugins, what are the implications of not using…
0
votes
0 answers

error with TimeZoneTransforme when running symfony2 on php 5.3 server

We are trying to deploy a symfony2 Web App in a shared hosting service offered by the University. The server has php 5.3. and we can only access it via FTP. When I go to .../web/app.php I got an "503 Service Unavailable" message. When looking at the…
tona
  • 1
  • 1
0
votes
1 answer

Magento - PHP extension intl* missing

tried this method but says "No releases available for package "pecl.php.net/intl" install failed" tried with pecl -vvv install intl returns this Warning: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it…
Shafayat Alam
  • 702
  • 1
  • 14
  • 32
0
votes
1 answer

ISO 639 - Reliable Lookup Resource in PHP

Intl Extension Uses The RFC 4646 Language Tag In the PHP intl extension, specifically the Locale class, it says: Locales are identified using RFC 4646 language tags RFC 4646 is deprecated The reason I mention this is that RFC 4646 has been…
user1694691
0
votes
1 answer

Reason: unsafe use of relative rpath libicui18n.52.dylib in with restricted binary

When using composer to install project dependencies on my development machine Mac running El Capitan I get the following error. I have intl installed but it appears to be trying to load another extension. It works fine if I have CSRUTIL disabled.…
KaffineAddict
  • 436
  • 2
  • 11