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. fof/discussion-language

ActiveFlarum-extension

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

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

1.3.9(2mo ago)1029.9k↓46.5%4[4 issues](https://github.com/FriendsOfFlarum/discussion-language/issues)[1 PRs](https://github.com/FriendsOfFlarum/discussion-language/pulls)MITPHPPHP ^8.1CI failing

Since Apr 13Pushed 1mo 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 1mo ago

READMEChangelog (10)Dependencies (20)Versions (49)Used By (0)

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

57

—

FairBetter than 98% of packages

Maintenance80

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity78

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

Recently: every ~99 days

Total

45

Last Release

62d 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 (53 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)")[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (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 (3 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)")[![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

[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[fof/best-answer

Mark a post as the best answer in a discussion

26135.2k15](/packages/fof-best-answer)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[fof/follow-tags

Follow tags and be notified of new discussions and replies

16119.0k10](/packages/fof-follow-tags)

PHPackages © 2026

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