PHPackages                             ateliee/php\_gettext\_error - 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. ateliee/php\_gettext\_error

ActiveLibrary

ateliee/php\_gettext\_error
===========================

php error message translation output

08PHP

Since Jul 26Pushed 11y ago1 watchersCompare

[ Source](https://github.com/ateliee/php_gettext_error)[ Packagist](https://packagist.org/packages/ateliee/php_gettext_error)[ RSS](/packages/ateliee-php-gettext-error/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpのエラー・警告文を翻訳致します（translate an error, a warning sentence of php）
=================================================================

[](#phpのエラー警告文を翻訳致しますtranslate-an-error-a-warning-sentence-of-php)

phpのエラー文章を翻訳して、書き出します。 出力にはgettext()に準していますが、使用していません。 言語ファイル(./languages)ファイルを追加・変更すれば様々なエラー文を翻訳することができます。

translate an error sentence of php and begin to write it. In the output in gettext() associate; do it, but do not use it. If I add language file (./languages) file and change it, I can translate various error sentences.

使い方(how to use)
---------------

[](#使い方how-to-use)

### init.phpを読み込みます(include init.php)

[](#initphpを読み込みますinclude-initphp)

```
include_once ("init.php");

```

### 言語を設定致します。(setup language)

[](#言語を設定致しますsetup-language)

```
PHPLangError::init("ja");

```

### 使用例(Example)

[](#使用例example)

#### normal

[](#normal)

```
Use of undefined constant **** - assumed '****'

```

#### output

[](#output)

```
タイプミスかもしれません('****')

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![ateliee](https://avatars.githubusercontent.com/u/4863358?v=4)](https://github.com/ateliee "ateliee (9 commits)")

### Embed Badge

![Health badge](/badges/ateliee-php-gettext-error/health.svg)

```
[![Health](https://phpackages.com/badges/ateliee-php-gettext-error/health.svg)](https://phpackages.com/packages/ateliee-php-gettext-error)
```

PHPackages © 2026

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