PHPackages                             guyver4mk/language\_translate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. guyver4mk/language\_translate

ActiveDev[Localization &amp; i18n](/categories/localization)

guyver4mk/language\_translate
=============================

A PHP Class to create a static array of translations, to use on your website

0111PHP

Since Jul 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/guyver4mk/Language_Translations)[ Packagist](https://packagist.org/packages/guyver4mk/language_translate)[ RSS](/packages/guyver4mk-language-translate/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Language Translations
=====================

[](#language-translations)

A PHP Class to create a static array of translations, to use on your website

\##General Usage Pull the latest code or Download the Zip file, then add to your project.
You will need to register for a free API Key from [Here](http://api.yandex.com/key/form.xml?service=trnsl)
In `includes/configuration.php` file, Change the API Key to the one you receive from Yandex, and change the `LANG_PATH` definition to a world writable folder for your file to be output to.
Then you can open and edit the `includes/lang/language.php` file, with the array of sentences / paragraphs / words you would like to translate.
Once you have created your array of phrases, simply call the `classes/Lang.php` file from your browser or your command line ( `php classes/Lang.php` ) to create your static array.

\##Currently Supported Languages Here is a list of the currently supported languages using this method;

Language CodeLanguagesqAlbanianarArabichyArmenianazAzerbaijanibeBelarusianbsBosnianbgBulgariancaCatalanzhChinesehrCroatiancsCzechdaDanishnlDutchetEstonianfiFinnishfrFrenchkaGeorgiandeGermanelGreekheHebrewhuHungarianisIcelandicidIndonesianitItalianjaJapanesekoKoreanlvLatvianltLithuanianmkMacedonianmsMalaymtMaltesenoNorwegianfaPersianplPolishptPortugueseroRomanianruRussiansrSerbianskSlovakslSlovenianesSpanishsvSwedishttTatarthThaitrTurkishukUkrainianviVietnamese

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f13f7de6b3720bedd43f6f5cf6d8d1fde05952c7f6d17dad1fa77e3848d4b494?d=identicon)[guyver4mk](/maintainers/guyver4mk)

### Embed Badge

![Health badge](/badges/guyver4mk-language-translate/health.svg)

```
[![Health](https://phpackages.com/badges/guyver4mk-language-translate/health.svg)](https://phpackages.com/packages/guyver4mk-language-translate)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
