PHPackages                             coldtrick/language\_selector - 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. coldtrick/language\_selector

ActiveElgg-plugin[Localization &amp; i18n](/categories/localization)

coldtrick/language\_selector
============================

Provides a selector for users to easily change the language

v3.0(9y ago)310815[1 issues](https://github.com/ColdTrick/language_selector/issues)[2 PRs](https://github.com/ColdTrick/language_selector/pulls)GPL-2.0PHP

Since Dec 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ColdTrick/language_selector)[ Packagist](https://packagist.org/packages/coldtrick/language_selector)[ RSS](/packages/coldtrick-language-selector/feed)WikiDiscussions master Synced 3w ago

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

Language selector
=================

[](#language-selector)

[![Build Status](https://camo.githubusercontent.com/ed34ba80b51bc91daafec4a39d4f3a8d1db4c3090421139177449342470cb602/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f6c64547269636b2f6c616e67756167655f73656c6563746f722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ColdTrick/language_selector/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/1b238751f532fb5ac9e81ab1bd7d744fe834ea9f106615028f6ad83f49b8c07a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f6c64547269636b2f6c616e67756167655f73656c6563746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ColdTrick/language_selector/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/e60aee1ebd0799f51d4e39b42661d2d616ea37f77a6c0268f9752e680be6c1af/68747470733a2f2f706f7365722e707567782e6f72672f636f6c64747269636b2f6c616e67756167655f73656c6563746f722f762f737461626c652e737667)](https://packagist.org/packages/coldtrick/language_selector)[![License](https://camo.githubusercontent.com/fa923a9d8154b51b202d80c12b706be737fe3c05935d13f90ad51d09dfa65283/68747470733a2f2f706f7365722e707567782e6f72672f636f6c64747269636b2f6c616e67756167655f73656c6563746f722f6c6963656e73652e737667)](https://packagist.org/packages/coldtrick/language_selector)

Provides a language\_selector view to use in your themes. If you are using a default theme, there is an admin option to extend the header with the language selector. Check the admin settings of the plugin for things to configure.

Features
--------

[](#features)

- language\_selector/default view to use in themes
- handles translation preferences for logged in (user preferences) AND non logged in users (cookies)
- incorporated autodetection of browser language (only for non logged in users)
- language selector display country codes or flags

Notes
-----

[](#notes)

- To add a language selector in a custom position, use `elgg_view('language_selector/default')`
- To display a language selector with a dropdown, use `elgg_view('language_selector/dropdown')`
- To add a custom language icon or replace an existing one, add an image file (svg, jpg, png, gif) in your plugin under `/views/default/language_selector/flags/$language_code.$ext`.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

3481d ago

### Community

Maintainers

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

---

Top Contributors

[![jdalsem](https://avatars.githubusercontent.com/u/861833?v=4)](https://github.com/jdalsem "jdalsem (16 commits)")[![jeabakker](https://avatars.githubusercontent.com/u/881958?v=4)](https://github.com/jeabakker "jeabakker (10 commits)")[![hypeJunction](https://avatars.githubusercontent.com/u/1202761?v=4)](https://github.com/hypeJunction "hypeJunction (2 commits)")[![juho-jaakkola](https://avatars.githubusercontent.com/u/883920?v=4)](https://github.com/juho-jaakkola "juho-jaakkola (2 commits)")[![Facyla](https://avatars.githubusercontent.com/u/286492?v=4)](https://github.com/Facyla "Facyla (1 commits)")[![isoguci1](https://avatars.githubusercontent.com/u/9152885?v=4)](https://github.com/isoguci1 "isoguci1 (1 commits)")

---

Tags

plugini18nelgg

### Embed Badge

![Health badge](/badges/coldtrick-language-selector/health.svg)

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

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[qtranslate/qtranslate-xt

qTranslate-XT (eXTended): Adds user-friendly multilingual content support, stored in single post.

60136.0k](/packages/qtranslate-qtranslate-xt)[imaginaerum/magento2-language-fr-fr

Magento2 French Language Pack (fr\_FR)

41749.0k2](/packages/imaginaerum-magento2-language-fr-fr)[coldtrick/translation_editor

Provide an easy way to edit translations

113.5k1](/packages/coldtrick-translation-editor)[mediawiki/translate

The only standard solution to translate any kind of text with an avant-garde web interface within MediaWiki, including your documentation and software

438.0k](/packages/mediawiki-translate)

PHPackages © 2026

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