PHPackages                             scandipwa/locale - 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. scandipwa/locale

ActiveMagento2-module[Localization &amp; i18n](/categories/localization)

scandipwa/locale
================

N/A

2.0.0(5y ago)0207.1k—3.1%5[1 issues](https://github.com/scandipwa/locale/issues)2OSL-3.0PHP

Since Dec 4Pushed 5y ago2 watchersCompare

[ Source](https://github.com/scandipwa/locale)[ Packagist](https://packagist.org/packages/scandipwa/locale)[ RSS](/packages/scandipwa-locale/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (2)

ScandiPWA Locale
================

[](#scandipwa-locale)

This module exposes multiple locale-related APIs for the theme's `phtml` template.

Feature breakdown:
------------------

[](#feature-breakdown)

**1. Determine locale for store**

Exposes `$this->getLocaleCode()` in the generated `Magento_Theme/templates/scandipwa_root.phtml`. Provides the store's locale code.

**2. Determine language for store**

Exposes `$this->getLanguageCode()`, basically takes the part of `$this->getLocaleCode()` before `_`. E.g. `en_US` =&gt; `en`.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 56.3% 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 ~79 days

Recently: every ~98 days

Total

6

Last Release

1957d ago

Major Versions

1.2.0 → 2.0.02021-01-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c2cd642b3c520df20394344ee587782e246262899e7ddc99a191360e85d7fdc?d=identicon)[scandiweb](/maintainers/scandiweb)

---

Top Contributors

[![alfredsgenkins](https://avatars.githubusercontent.com/u/29531824?v=4)](https://github.com/alfredsgenkins "alfredsgenkins (9 commits)")[![yeegor](https://avatars.githubusercontent.com/u/46347627?v=4)](https://github.com/yeegor "yeegor (5 commits)")[![ankithg03](https://avatars.githubusercontent.com/u/67680823?v=4)](https://github.com/ankithg03 "ankithg03 (1 commits)")[![ejnshtein](https://avatars.githubusercontent.com/u/18352350?v=4)](https://github.com/ejnshtein "ejnshtein (1 commits)")

### Embed Badge

![Health badge](/badges/scandipwa-locale/health.svg)

```
[![Health](https://phpackages.com/badges/scandipwa-locale/health.svg)](https://phpackages.com/packages/scandipwa-locale)
```

###  Alternatives

[splendidinternet/mage2-locale-de-de

German (Germany) language

861.0M2](/packages/splendidinternet-mage2-locale-de-de)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[bleez/magento2-pt_br

Magento2 pt\_BR - Traduzido por Agência Bleez

233.6k](/packages/bleez-magento2-pt-br)

PHPackages © 2026

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