Skip to content

Commit

Permalink
translators credits
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Apr 26, 2024
1 parent f0ccdd8 commit 8230e32
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Please review [our security policy](../../security/policy) on how to report secu
## Credits

- [Fabio Ivona](https://github.com/defstudio)
- [def:studio team](https://github.com/defstudio)
- [Andrea Marco Sartori](https://github.com/cerbero90) for his cool ideas
- [Alberto Pieripolli](https://github.com/trippo) Pest badge
- [Joris Drenth](https://github.com/jorisdrenth) Docs fix and upgrade
Expand All @@ -92,6 +93,7 @@ Please review [our security policy](../../security/policy) on how to report secu
- [Andrey Helldar](https://github.com/andrey-helldar) Russian
- [Joris Drenth](https://github.com/jorisdrenth) Dutch
- [Moayed Alhagy](https://github.com/moayedalhagy) Arabic
- [Rafael](https://github.com/rjmo) Portuguese


## License
Expand Down
26 changes: 26 additions & 0 deletions docs/17.community/2.translating.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: 'Translating'
---

Telegraph interacts with Telegram users is multiple ways, in order to offer a better user experience, it's responses can be localized in the user's language:

```php
//in webhook

App::setLocale($this->message->from()->languageCode());

$this->reply(__('Hello')); // Ciao!

```

Anyone can contribute to the supported languages by creating a folder in `resources/lang`, named after the translated language code and adding his own translation files (better if taken from the `resources/lang/en` folder)

## Translation Credits

- Italian [def:studio team](https://github.com/defstudio)
- Arabic [Moayed Alhagy](https://github.com/moayedalhagy)
- Dutch [Joris Drenth](https://github.com/jorisdrenth)
- Portuguese [Rafael](https://github.com/rjmo)
- Russian [Andrey Helldar](https://github.com/andrey-helldar)
- Spanish [Tievo](https://github.com/Tievodj)
- Ukrainian [ihorrudnix](https://github.com/ihorrudnix)
File renamed without changes.
File renamed without changes.

0 comments on commit 8230e32

Please sign in to comment.