PHPackages                             fof/discussion-language - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. fof/discussion-language

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

fof/discussion-language
=======================

Specify the language a discussion is written in &amp; sort by language

1.3.12(3w ago)1034.8k↓81.6%5[4 issues](https://github.com/FriendsOfFlarum/discussion-language/issues)[2 PRs](https://github.com/FriendsOfFlarum/discussion-language/pulls)4MITPHPPHP ^8.1CI passing

Since Apr 13Pushed 3w ago3 watchersCompare

[ Source](https://github.com/FriendsOfFlarum/discussion-language)[ Packagist](https://packagist.org/packages/fof/discussion-language)[ Docs](https://friendsofflarum.org)[ Fund](https://opencollective.com/fof/donate)[ RSS](/packages/fof-discussion-language/feed)WikiDiscussions 1.x Synced 3d ago

READMEChangelog (10)Dependencies (40)Versions (55)Used By (4)

Discussion Language by FriendsOfFlarum
======================================

[](#discussion-language-by-friendsofflarum)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/21723ac09ceb18b0c6f09a6a9f1f99e33b72aa11b05a94afe5dd8a822ff37552/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666f662f64697363757373696f6e2d6c616e67756167652e737667)](https://packagist.org/packages/fof/discussion-language) [![OpenCollective](https://camo.githubusercontent.com/1903c197bb0307e60d6328653532b8a6b9890b898fbc92e314ab39d699491e74/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f70656e636f6c6c6563746976652d666f662d626c75652e737667)](https://opencollective.com/fof/donate) [![Donate](https://camo.githubusercontent.com/6c7b26396e320eb8dd60d767a4500684b60bb7d37f7cacbaf6b2eae6f2d30010/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d6461746974697365762d696d706f7274616e742e737667)](https://datitisev.me/donate)

[![image](https://camo.githubusercontent.com/e606f6280e77e8fd991a674251f957a9e3cb5b22c4ed64f7b2c760f2fdcb9701/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f666f662f64697363757373696f6e2d6c616e67756167652f6f70656e2d67726170682d696d616765)](https://camo.githubusercontent.com/e606f6280e77e8fd991a674251f957a9e3cb5b22c4ed64f7b2c760f2fdcb9701/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f666f662f64697363757373696f6e2d6c616e67756167652f6f70656e2d67726170682d696d616765)

A [Flarum](http://flarum.org) extension. Tag discussions with the language they are written in, filter the discussion list by language, and optionally auto-detect a visitor's preferred language to show relevant content by default.

### Features

[](#features)

- **Language tagging** — Assign a language (with optional country flag) to each discussion. Authors are prompted to choose a language when composing, moderators can change it at any time.
- **Discussion list filtering** — A language dropdown appears on the index page. Discussions are filtered by language automatically based on the visitor's browser locale, cookie, or user preference — or they can manually pick "Any Language".
- **Search gambit** — Filter search results by language using `language:` in the search bar.
- **Composer pre-selection** — Optionally pre-fill the language picker in the composer with the user's current Flarum locale.
- **Country flags** — Display emoji flags alongside language names (backed by [twemoji](https://twemoji.twitter.com/)). Uses ISO 639-2 language codes and country data.
- **Native language names** — Optionally display language names in their own script (e.g. "Deutsch" instead of "German").
- **Tags page integration** — Optionally show only the most recent discussion in the user's locale on the tags page instead of the overall most recent discussion.
- **fof/follow-tags integration** — When [fof/follow-tags](https://github.com/FriendsOfFlarum/follow-tags) is enabled, users can choose which discussion language they want to receive tag subscription notifications for.

### Installation

[](#installation)

```
composer require fof/discussion-language:"*"
```

### Updating

[](#updating)

```
composer update fof/discussion-language
php flarum assets:publish
php flarum migrate
```

### Configuration

[](#configuration)

All settings are available under the extension's admin page:

SettingDescriptionDefaultUse native language namesShow language names in their own scriptOffShow country flagsDisplay emoji flags next to language namesOnPre-select current locale in composerAutomatically pick the user's Flarum locale when starting a discussionOffUse detected language for default filterRedirect visitors to their detected language on page loadOffShow "Any Language" optionAdd an option to the dropdown to view all discussions regardless of languageOnOnly show locale discussions on tags pageReplace the tag's last discussion link with the most recent one in the user's localeOffLanguages and their associated countries (for flag display) are managed from the **Languages** section of the extension's admin page.

#### Permissions

[](#permissions)

- **Allow language editing** — Controls which user groups can change the language of their own discussions, and for how long after posting (immediately, within 10 minutes, or until someone else replies).
- **Allow moderate language editing** — Controls which groups can change the language on any discussion at any time.

### Links

[](#links)

[![OpenCollective](https://camo.githubusercontent.com/8ea53c451470d1a72789d650c77e2b22eee915f7fbf2cbeeeeaa25f47301efe2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d667269656e64736f66666c6172756d2d3434414545353f7374796c653d666f722d7468652d6261646765266c6f676f3d6f70656e2d636f6c6c656374697665)](https://opencollective.com/fof/donate) [![GitHub](https://camo.githubusercontent.com/19562cc0996a556a7abda08327f57924e288bbbc3c5312b096c62175a2841ae4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f6e6174652d6461746974697365762d6561346161613f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://datitisev.me/donate/github)

- [Packagist](https://packagist.org/packages/fof/discussion-language)
- [GitHub](https://github.com/FriendsOfFlarum/discussion-language)

An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum), commissioned by [mailcow](https://mailcow.email/).

###  Health Score

61

—

FairBetter than 98% of packages

Maintenance86

Actively maintained with recent releases

Popularity37

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~47 days

Recently: every ~20 days

Total

48

Last Release

26d ago

Major Versions

0.4.0 → 1.0.02021-05-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

![](https://avatars.githubusercontent.com/u/1630413?v=4)[Gregor Hammerschmidt](/maintainers/GreXXL)[@GreXXL](https://github.com/GreXXL)

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

![](https://www.gravatar.com/avatar/1298cdc0b2402a1aa34fb75a254947d655e090d62bd0531311331d369cac934e?d=identicon)[datitisev](/maintainers/datitisev)

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (54 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (46 commits)")[![dsevillamartin](https://avatars.githubusercontent.com/u/6401250?v=4)](https://github.com/dsevillamartin "dsevillamartin (32 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (10 commits)")[![iPurpl3x](https://avatars.githubusercontent.com/u/18526076?v=4)](https://github.com/iPurpl3x "iPurpl3x (7 commits)")[![gianniguida](https://avatars.githubusercontent.com/u/53989450?v=4)](https://github.com/gianniguida "gianniguida (4 commits)")[![karaok491](https://avatars.githubusercontent.com/u/72854852?v=4)](https://github.com/karaok491 "karaok491 (3 commits)")[![skmedix](https://avatars.githubusercontent.com/u/3246162?v=4)](https://github.com/skmedix "skmedix (1 commits)")[![grimur82](https://avatars.githubusercontent.com/u/9028297?v=4)](https://github.com/grimur82 "grimur82 (1 commits)")[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (1 commits)")

---

Tags

flarumfriendsofflarumhacktoberfestflarum

### Embed Badge

![Health badge](/badges/fof-discussion-language/health.svg)

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)[fof/byobu

Well integrated, advanced private discussions.

59120.6k13](/packages/fof-byobu)[fof/best-answer

Mark a post as the best answer in a discussion

25154.0k20](/packages/fof-best-answer)[michaelbelgium/mybb-to-flarum

Migrate a MyBB Forum to a fresh Flarum instance

261.1k](/packages/michaelbelgium-mybb-to-flarum)

PHPackages © 2026

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