google-translate-php
translation
google-translate-php | translation | |
---|---|---|
1 | 1 | |
1,793 | 6,602 | |
- | 0.3% | |
6.2 | 7.2 | |
about 1 month ago | 5 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
google-translate-php
-
Translate text with google translate in your PHP/Laravel app with 4 lines of codes.
If you want to use more options like language auto-detect, etc. You can read the doc: https://github.com/Stichoza/google-translate-php
translation
-
Managing Strings for translation
I'm wondering if you system means you need 100 database round trips every time you display a page with 100 localised strings. But to cope with everything else I'd suggest a third-party library. PHP itself doesn't have anything too fancy (gettext gets the job done, it hasn't received significant updates in years, there's a good third-party toolset). I'm not versed enough in i18n libraries as to recommend one but I know there're Symfony Translation and Laravel Localization.
What are some alternatives?
efficient-language-detector - Fast and accurate natural language detection. Detector written in PHP. Nito-ELD, ELD.
psl - 📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers
language-detection - A language detection library for PHP. Detects the language from a given text string.
http-foundation - Defines an object-oriented layer for the HTTP specification
detectlanguage-node - Detect Language API Node.js Client
http-kernel - Provides a structured process for converting a Request into a Response
lang - List of 126 languages for Laravel Framework, Laravel Jetstream, Laravel Fortify, Laravel Breeze, Laravel Cashier, Laravel Nova, Laravel Spark and Laravel UI.
polyfill-mbstring - Symfony polyfill for the Mbstring extension
Google Translate For Free - Library for free use Google Translator. With attempts connecting on failure and array support.
go-translate - Translator on Emacs. Supports multiple engines such as Google, Bing, deepL, ChatGPT, StarDict, Youdao and so on.
event-dispatcher - Provides tools that allow your application components to communicate with each other by dispatching events and listening to them
console - Eases the creation of beautiful and testable command line interfaces