Edit report at http://bugs.php.net/bug.php?id=53912&edit=1

 ID:                 53912
 Updated by:         ahar...@php.net
 Reported by:        ciprianmp at yahoo dot com
 Summary:            Yoruba language support
-Status:             Open
+Status:             Bogus
 Type:               Feature/Change Request
 Package:            Calendar related
 Operating System:   unix
 PHP Version:        5.2.14
 Block user comment: N
 Private report:     N

 New Comment:

This already works fine so long as your OS has the appropriate

language support installed. For example, after installing the Ubuntu

language-pack-yo package, this script:



<?php

var_dump(strftime('%e %B %Y'));

setlocale(LC_ALL, 'yo_NG.utf8');

var_dump(strftime('%e %B %Y'));

?>



Outputs this:



string(16) " 3 February 2011"

string(22) " 3 Fẹ́búárì 2011"



Which matches the installed locale file (apart from the broken

combining character caused by copy/pasting from my terminal).



Closing, since this isn't a bug in PHP.


Previous Comments:
------------------------------------------------------------------------
[2011-02-02 22:01:32] ciprianmp at yahoo dot com

win 5.2.17 - yoruba support = Yes

unix 5.2.14 - No

------------------------------------------------------------------------
[2011-02-02 21:53:20] ciprianmp at yahoo dot com

It seems to work on windows though, but not on linux.

------------------------------------------------------------------------
[2011-02-02 21:23:24] ciprianmp at yahoo dot com

Description:
------------
---

>From manual page: http://www.php.net/function.setlocale

---



Expected result:
----------------
The date/time and calendar month and days names and formats are in
english, on both win and unix.

Any plans for yoruba language (Nigeria) support?



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53912&edit=1

Reply via email to