mcamara / laravel-localization

Easy localization for Laravel
MIT License
3.36k stars 511 forks source link

Wrong encoded native names #143

Closed Omranic closed 10 years ago

Omranic commented 10 years ago

https://github.com/mcamara/laravel-localization/blob/master/src/config/config.php

Wrong encoded native names for the following five languages, could you please check out the correct native names & update it please..

//'dv' => array('name' => 'Divehi', 'script' => 'Thaa', 'dir' => 'rtl', 'native' => 'ދިވެހިބަސް'),
//'shi-Tfng' => array('name' => 'Tachelhit (Tifinagh)', 'script' => 'Tfng', 'dir' => 'rtl', 'native' => 'ⵜⴰⵎⴰⵣⵉⵖⵜ'),
//'tzm' => array('name' => 'Central Atlas Tamazight (Tifinagh)','script' => 'Tfng', 'dir' => 'rtl', 'native' => 'ⵜⴰⵎⴰⵣⵉⵖⵜ'),
//'vai' => array('name' => 'Vai (Vai)', 'script' => 'Vaii', 'dir' => 'ltr', 'native' => 'ꕙꔤ'),
//'jv-Java' => array('name' => 'Javanese (Javanese)', 'script' => 'Java', 'dir' => 'ltr', 'native' => 'ꦧꦱꦗꦮ'),

Thanks

fisharebest commented 10 years ago

The native names for shi-Tfng and vai are identical to the values given in the CLDR database. (I'm looking at the version of the CLDR included with Zend Framework v1).

The others aren't included in the CLDR. Wikipedia has a name for Divehi which appears to be similar (but a couple of characters shorter) than the one in the project.

I'm struggling to find reliable sources for the other two.

If you think these are wrong, what do you think are the correct names? Links/sources?

Omranic commented 10 years ago

The issue is that it's not readable even with UTF-8 encoding... screenshot 2014-10-01 14 18 44 screenshot 2014-10-01 14 19 07

fisharebest commented 10 years ago

This simply means that your browser/editor/computer doesn't have the necessary fonts/scripts installed.

You are not seeing characters for four scripts: Thaana, Tifinagh, Vai and Javanese.

However, the two computers in front of me (Mac and Win7) show characters in three of them: Thaana, Tifinagh and Vai - I'm just missing support for Javanese.

AFAICT, these are the correct UTF-8 encodings for these characters/scripts.

==EDIT== Correction. I see the characters on my Win7 machine - but not my Mac.

Omranic commented 10 years ago

Well, thank you for the clarification. Closed. Could you please tell me what's the supporting fonts/scripts for those that's working with you cause I couldn't get them working neither on mac nor on windows.

fisharebest commented 10 years ago

Could you please tell me what's the supporting fonts/scripts for those that's working

Using Windows7 (enterprise) with default settings for everything, and looking at your first post at the top of this page

Firefox32, IE11 - displays four out of five scripts - not Javanese Chrome40 - diplays just one script - Thaana

I don't know if that tells you anything. But it seems to be an application issue.