PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Moamen Eltouny   Laravel Localization Package   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Localization Package
Detect or set the locale language of an app user
Author: By
Last change:
Date: 2 years ago
Size: 4,289 bytes
 

Contents

Class file image Download

<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/localization.jpg"></a></p>

<p align="center"> <a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a> <a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a> <img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License"> <a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a> <br> <a href="https://packagist.org/packages/Pharaonic/laravel-localization" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-localization&color=blue&logo=packagist&logoColor=white" alt="Source"></a> <a href="https://packagist.org/packages/pharaonic/laravel-localization" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-localization/v" alt="Packagist Version"></a> <a href="https://packagist.org/packages/pharaonic/laravel-localization" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-localization/downloads" alt="Packagist Downloads"></a> </p>

<h3 align="center">Laravel URL Localization - (ccTLD, sub-domain, sub-directory).</h3> <h5 align="center">with Simple & Easy Helpers.</h5>

Afrikaans Akan shqip ???? ??????? ??????? ??????? az?rbaycan ?????????? bamanakan euskara ?????????? ????? ???????? bosanski brezhoneg ????????? ??? català ?? ???? ???? kernewek hrvatski ?e?tina dansk Nederlands ?????? English Esperanto eesti e?egbe føroyskt suomi français Pulaar galego Luganda ??????? Deutsch ???????? ??????? Hausa ????? ?????? magyar íslenska Igbo Bahasa Indonesia Gaeilge italiano ??? kalaallisut ????? ????? ????? ???? ????? Gikuyu Kinyarwanda ??? ???????? ??? latvie?u lingála lietuvi? Tshiluba Lëtzebuergesch ?????????? Malagasy Bahasa Melayu ?????? Malti Gaelg ????? ?????? ?????? isiNdebele davvisámegiella norsk norsk bokmål nynorsk ????? Oromoo ???? ???? ????? polski português ?????? ?????? Runasimi român? rumantsch Ikirundi ??????? Sängö Gàidhlig ?????? srpski Srpskohrvatski chiShona ??? ????? sloven?ina sloven??ina Soomaali español Kiswahili svenska Tagalog ????? ?????? ??? ???????? ???? lea fakatonga Türkçe ?????????? ???? ???????? o?zbekcha Ti?ng Vi?t Cymraeg West-Frysk ?????? Èdè Yorùbá isiZulu <br> <h6>Sub-Directory Localzation Routing Example :</h6>

Route::localized(function(){
    Route::get('/page', function(){
        return 'Pharaonic';
    });
});

// Output : {locale?}/page

Documentation

You can find the detailed documentation here in Laravel Localization Documentation.

Contributing

Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.