PHPackages                             ge1i0n/bitrix-translation - 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. ge1i0n/bitrix-translation

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

ge1i0n/bitrix-translation
=========================

0.2.0(2y ago)053MITPHPPHP ^7.3|^8.0

Since Oct 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Ge1i0N/bitrix-translation)[ Packagist](https://packagist.org/packages/ge1i0n/bitrix-translation)[ Docs](https://github.com/ge1i0n/bitrix-translation)[ RSS](/packages/ge1i0n-bitrix-translation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/340655b10e15f3fc9f51fc560c527856b10d052547cdb60936b80e1e0cbb67d9/68747470733a2f2f706f7365722e707567782e6f72672f67653169306e2f6269747269782d7472616e736c6174696f6e2f762f737461626c652e737667)](https://packagist.org/packages/ge1i0n/bitrix-translation/)[![Total Downloads](https://camo.githubusercontent.com/8594ff1a7d10226e883b1c1eaf06d96f473784452f4d753e5fb3efa5f0c25655/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67653169306e2f6269747269782d7472616e736c6174696f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/ge1i0n/bitrix-translation)

Bitrix Translation - интеграция функционала локализации фреймворка Laravel в Битрикс
====================================================================================

[](#bitrix-translation---интеграция-функционала-локализации-фреймворка-laravel-в-битрикс)

Установка
---------

[](#установка)

1. `composer require ge1i0n/bitrix-translation`
2. Добавляем в init.php

```
use Gelion\BitrixTranslation\TranslationProvider;

require $_SERVER['DOCUMENT_ROOT']."/vendor/autoload.php";

TranslationProvider::register();
```

Использование
-------------

[](#использование)

Вызов строк локализации [аналогичен Laravel](https://laravel.com/docs/8.x/localization#defining-translation-strings). Для смены текущего языка используйте конструкцию:

```
app('translator')->setLocale('en');
```

Конфигурация
------------

[](#конфигурация)

При необходимости пути можно поменять в конфигурации. .settings\_extra.php

```
'bitrix-translation' => [
    'value' => [
        'langPath' => '/absolute/path/or/path/from/document/root',  // по умолчанию 'local/lang'
        'locale' => 'ru', // по умолчанию 'ru'
        'fallback_locale' => 'ru',  // по умолчанию 'ru'
    ],
    'readonly' => true,
],
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Every ~717 days

Total

2

Last Release

943d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.3.0

0.2.0PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2223361bbd3b57f83ae5b6a56dadea6bfded10399ec54dfd8aeba63dcbf68208?d=identicon)[Ge1i0N](/maintainers/Ge1i0N)

---

Top Contributors

[![Ge1i0N](https://avatars.githubusercontent.com/u/6265043?v=4)](https://github.com/Ge1i0N "Ge1i0N (3 commits)")

---

Tags

localizationtranslationbitrix

### Embed Badge

![Health badge](/badges/ge1i0n-bitrix-translation/health.svg)

```
[![Health](https://phpackages.com/badges/ge1i0n-bitrix-translation/health.svg)](https://phpackages.com/packages/ge1i0n-bitrix-translation)
```

###  Alternatives

[kkomelin/laravel-translatable-string-exporter

Translatable String Exporter for Laravel

3291.4M10](/packages/kkomelin-laravel-translatable-string-exporter)[tio/laravel

Add this package to localize your Laravel application (PHP, JSON or GetText).

170318.5k](/packages/tio-laravel)[laravel-lang/locales

Basic functionality for working with localizations

134.5M12](/packages/laravel-lang-locales)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)

PHPackages © 2026

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