Coder Social home page Coder Social logo

laravel-lang / lang Goto Github PK

View Code? Open in Web Editor NEW
7.3K 159.0 3.1K 54.64 MB

List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.

Home Page: https://laravel-lang.com

License: MIT License

PHP 100.00%
laravel language laravel-application laravel-jetstream laravel-fortify laravel-nova laravel-cashier laravel-spark laravel-breeze translation

lang's Introduction

Laravel Lang

laravel lang localizations

Stable Version Unstable Version Total Downloads Github Workflow Status License

Documentation

See the documentation for detailed installation.

Communication

We also have official chats in Telegram.

Contributing

Please see CONTRIBUTING for details.

Support Us

❤️ Laravel Lang? Please consider supporting our collective on Boosty.

License

This package is licensed under the MIT License.

lang's People

Contributors

actions-user avatar andrey-helldar avatar anhskohbo avatar ariaieboy avatar arman-arif avatar bact avatar billmn avatar caouecs avatar dependabot[bot] avatar dinhquochan avatar diveshthapa avatar eucarlos avatar idhamperdameian avatar keljtanoski avatar luisprmat avatar makowskid avatar masterix21 avatar miguelbgouveia avatar mohamedsabil83 avatar olsza avatar overtrue avatar pheogrammer avatar shamsnaamir avatar slvler avatar sotten avatar tfevan avatar van4kk avatar wadakatu avatar whsyu avatar ycs77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lang's Issues

WIP : Version 1.1.1 with required_without_all

The aim of the version 1.1.1 is to have files with new line.

New line :

"required_without_all" => "The :attribute field is required when none of :values are present."

Status :

  • Albanian
  • Arabic
  • Bosnian
  • Brazilian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Finnish translations are incorrect

The Finnish translations are obiously generated computationally, and they are horrible. Not usable at all.

Unfortunately I don't have time to provide better translations at the moment.

[Enhancement] Add Json validation files.

as of Lara v5.4 , you can now use json file type for validation instead of the usual php, this doesnt mean that php files will stop working but its more of having another option.

Todo

1- make a new branch for the json file type.
2- include a script to convert the php to json for easier maintenance.
3- make the new json branch available to composer so user only install what he needs php or json

https://laravel.com/docs/5.4/localization#using-translation-strings-as-keys, it seems its more of accustomed to each user preference rather than specific like the current php version, so really no need to bother.

Transition package to non versioned package name

I see in the README that this package is installed for Laravel 5 as:

composer require caouecs/laravel4-lang ~2.0

Probably for Laravel 5, it would be less confusing if you create or transition the package to laravel-lang without the "4" marking the version. That is:

composer require caouecs/laravel-lang ~2.0

Since you can use milestones or tags supporting the 5.x or 6.x in future if available and it doesn't make sense keep the 4 in 5 versions or future versions. And actually you are using Laravel-lang currently as this repo name (probably it should be also laravel-lang without the capital uppercase letter).

Also this should be updated in packagist

I know that it is probably a tedious change and probably it is not neccessary, but it is important for keep the things cleaned in future versions too.

WIP : Version 1.1.0 for Laravel 4.1

The aim of the version 1.1 is to have files ready for Laravel 4.1.

New line :

  • reminders.sent: "Password reminder sent!"

Status :

  • Albanian
  • Arabic
  • Bosnian
  • Brazilian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

WIP : validation.required_with_all

A new line in validation.php

"required_with_all" => "The :attribute field is required when :values is present.",

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

WIP : validation.timezone

"timezone" => "The :attribute must be a valid zone."

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Update : validation.filled

Hello,
can you check if files are ok with the new value for validation.filled ?

'filled' => 'The :attribute field must have a value.',

  • ar
  • be
  • bg
  • bn
  • bs
  • ca
  • cs
  • cy
  • da
  • de
  • el
  • es
  • et
  • fa
  • fi
  • fr
  • gl
  • he
  • hi
  • hr
  • hu
  • id ( see #750 )
  • is
  • it
  • ja
  • ka
  • kk
  • km
  • ko
  • lt
  • me
  • mk
  • mn
  • ms
  • nb
  • ne
  • nl
  • nn
  • pl
  • pt
  • pt-BR
  • ro
  • ru
  • sc
  • sk
  • sl
  • sq
  • sr
  • sv
  • sw
  • tg
  • th
  • tk
  • tl
  • tr
  • uk
  • ur
  • vi
  • zh-CN
  • zh-HK
  • zh-TW

Letters capitalized

Since Laravel 5.2, we can define letters capitalized. A new branch has been created to add this feature : capital_letters.

  • ar
  • be
  • bg
  • bn
  • bs
  • ca
  • cs
  • cy
  • da
  • de
  • el
  • es
  • et
  • fa
  • fi
  • fr
  • gl
  • he
  • hi
  • hr
  • hu
  • id
  • is
  • it
  • ja
  • ka
  • kk
  • km
  • ko
  • lt
  • me
  • mk
  • mn
  • ms
  • nb
  • ne
  • nl : #699
  • nn
  • pl
  • pt
  • pt-BR
  • ro
  • ru
  • sc
  • sk
  • sl
  • sq
  • sr
  • sv
  • sw
  • tg
  • th
  • tk
  • tl
  • tr
  • uk
  • ur
  • vi
  • zh-CN
  • zh-HK
  • zh-TW

Laravel-Lang Management

Hi Caouecs,

I have a doubt. Is it needed to copy the langs from /vendor/caouecs/laravel4-lang to /resources/lang in order to make them working? If so, how can I can update langs from my laravel 5.1 project when your ones get changed in vendor?

Thanks for your attention.

Invalid format validation. No such file or directory in directory

When I run php script/todo.php receives a message:

Warning: include(...\src/lv/validation.php): failed to open stream: No such file or directory in Laravel-lang-master\script\todo.php on line 82

Problem in incorrect format file src/lv/validation. Must be src/lv/validation.php

WIP : validation.boolean

"boolean" => "The :attribute field must be true or false"

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Idea of cli command tool

Sometimes i just need only Mongolian [mn] for my app. And no need of multi lang package in the composer. In this case laravel-lang cli tool would be very useful to me. See the scenerio below:

cd ~/projects/some-laravel-project
laravel-lang add mn

After this command [mn] lang files gonna copied to resources directory and app.locale config changed to mn.

laravel-lang should be installed globally. Then use it like the laravel-installer.

Wrong pt-BR translation at validation.php

People, before everything, thanks a lot for your project, you helped me very much. :D
But the problem that I noticed is that in the line 75 in pt-BR/validation.php file should be like this:
"string" => "O campo :attribute deve ser um texto.",
instead of that:
"string" => "The :attribute must be a string.",
:)

validation: two chain conditions

i have four textboxes (textbox_1, textbox_2, textbox_3, textbox_4).

if textbox_4 is empty i need to check if textbox_2 and textbox_3 are not empty , then i need to require textbox_1 to not empty.

please help me do this inside the App\Http\Request\MyFormRequests.php

Latvian translations?

I would greatly appreciate it if anyone could share Latvian translations for Laravel 4.

Thanks in advance.

Can't install

   Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing caouecs/laravel4-lang (dev-master 8cd5048)
    Downloading: Connecting...    Failed to download caouecs/laravel4-lang from dist: The "https://api.github.com/repos/caouecs/Laravel4-lang/zipball/8cd50480137307b620d574804289f800e6b50246" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source

maybe you have to change the canonical setting on packagist?

https://packagist.org/packages/caouecs/laravel4-lang

It says https://github.com/caouecs/Laravel4-lang

Rename the repo and turn "laravel5" branch into "master"

As Laravel 5 is now official and stable, it's probably the perfect time to make these tiny but important updates. Imho, a slightly different but simpler name such as "laralang", "laralangs" or "laravel-lang" would be even better. What's your thought?

WIP : Version 1.0.0 for Laravel 4

The aim of the version 1 is to propose the same number of languages than Laravel 3, with new files translated.

Status :

  • Albanian
  • Arabic
  • Bosnian
  • Brazilian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese (zh-CN)
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Not translated auth.php file comments of ru

Translation:
/*
|--------------------------------------------------------------------------
| Языковые ресурсы аутентификации
|--------------------------------------------------------------------------
|
| Следующие языковые ресурсы используются вовремя аутентификации для
| различных сообщений которые мы должны вывести пользователю на экран.
| Вы можете свободно изменять эти языковые ресурсы в соответствии
| с требованиями вашего приложения.
|
*/

Danish validation language file UTF-8 Issue

I'm facing an issue with Danish validation file and I'm getting this exception for the email rule for example.

Malformed UTF-8 characters, possibly incorrectly encoded

What should be the proper fix for this kind of issue?

Thanks.

en folder?

What about adding the en language folder as well?

It looks like there are some custom validation attributes translations on other languages but not in english...

'attributes' => [
       "name" => "الاسم",
        "username" => "اسم المُستخدم",
        "email" => "البريد الالكتروني",
        "first_name" => "الاسم",

[Proposal] Artisan command

Hello,
I propose to do a command for Artisan for :

  • installation of languages files
  • remove files
  • update files
  • display changelog

with a cache system for versions

WIP : L5 passwords

"sent" => "We have e-mailed your password reset link!",
"reset" => "Your password has been reset!"

Just in laravel5 branch.

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

[Suggestion] ARCANEDEV/LaravelLang package

Salut Fred 👍,

I've recently created a package ARCANEDEV/LaravelLang based on your package translations.

This package offer more functionalities than overtrue/laravel-lang.

The main features are :

  • Missing translations Checker.
  • Translations Publisher.
  • Well documented & IDE Friendly.
  • Well tested with maximum code quality.

I want you and other artisans to try it and having some feedbacks.

Best regards

Automatic installation via Composer

When installing via composer, all lang folders should be automatically copied to app/lang so updates of the repo via composer also reflect any changes.

Publishing in resources/lang

I can help you make your package able to publish all the translation files when executing the php artisan vendor:publish command.

Arabic

I think this is much better translation

 'attributes'           => [
         ...

        'first_name'            => 'الاسم الأول',

         .
         .

         'address'               => 'عنوان السكن',

         .
         .

        'title'                 => 'العنوان',

         ....
    ],

Best regards M. Saud 🤠

WIP : reminders.reset

"reset" => "Password has been reset!"

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Roadmap v3

Hello,
the aim of this project is the translation of Laravel files, all Laravel versions, and just translations.

For the version 3 :

  • new name for Composer : caouecs/laravel-lang
  • translated files in src directory
  • documentation

WIP : new validation.email

The text of validation.email has been updated ( see #185 ) :

"email" => "The :attribute must be a valid email address."

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

WIP : L5 passwords.sent

From : "sent" => "Password reminder sent!"
To : "sent" => "Password reset link sent!"

Just in laravel5 branch.

Status :

  • Albanian
  • Arabic
  • Brazilian
  • Bosnian
  • Bulgarian
  • Cambodian
  • Catalan
  • Chinese
  • Chinese from Taiwan (zh-TW)
  • Czech
  • Danish
  • Dutch
  • Finnish
  • French
  • German
  • Greek
  • Hebrew
  • Hungarian
  • Indonesian
  • Italian
  • Japanese
  • Korean
  • Lithunian
  • Macedonian
  • Montenegrin
  • Norwegian Bokmål
  • Polish
  • Portuguese
  • Romanian
  • Russian
  • Serbian
  • Slovak
  • Spanish
  • Swedish
  • Thai
  • Traditional Chinese (Hong Kong)
  • Turkish
  • Vietnamese

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.