Skip to the content.

Laravel Lang / Main Page / Contributing

Contributing

Contributions are welcome and will be fully credited.

We accept contributions via Pull Requests on Github.

How can I add a language in this project ?

How can I fix a file ?

What should I do if there is a tag whose translation is the same as in English?

In some languages there are some strings whose translation is the same as in English. In this case, the script that generates the status adds them by default to the list of pending translations. This affects the completion status for this language which would never be marked in status list with ( ✔) but with (❗) even if all other strings were translated.

We can avoid this situation in the following way:

<?php

/*
|--------------------------------------------------------------------------
| Exclusion list
|--------------------------------------------------------------------------
|
| This is a list of exclusions for words or phrases where the original
| form of the word has the same spelling in a given language.
|
*/

return [
    'API Token',
    'Email',
];