Select your language

Version 1.3.1 · 13 November 2026

CodeSampleLangM

Decides which languages TinyMCE's code sample dialog offers.
For example SQL, Bash, Kotlin or PowerShell.

Do you speak another language? Help with the translation!

The download is provided via GitHub.

Free · Open source · Joomla 6 · PHP 8.3 or newer · Documentation · What's new?

TinyMCE's code sample dialog with the languages from the plugin settings

What CodeSampleLangM can do

Choose languages, save, use them in the editor.

Your own languages

Instead of TinyMCE's ten standard languages, exactly the ones you need.

Simple list

Add, hide and reorder languages, all in one table.

In every editor

Applies to all TinyMCE editors in the backend and frontend: articles, categories, modules.

Updates

New versions arrive conveniently through the Joomla updater.

Good to know

CodeSampleLangM only fills the dropdown in the code sample dialog. Colours on the website need Prism in your template or a highlighting extension, with every language you use.

Installation

  1. Download the ZIP package from GitHub.
  2. In the backend, upload the file under System → Install → Extensions.
  3. Under System → Plugins → System - CodeSampleLangM, edit the language list, save and enable the plugin.

Requirements: Joomla 6.0 or later, PHP 8.3 or later, the editor TinyMCE with the button Code Sample in its toolbar.

Screenshots

Click to enlarge.

Versions

What has changed recently.

1.3.1 – Languages to show current
  • Fixed: the setting "Languages to show" is back: standard languages plus additional ones (default), only the 10 standard languages, or only the languages from the table
  • Changed: the table no longer comes pre-filled; with the default setting it only holds the additional languages
  • A row with a standard value (e.g. php) renames that entry instead of adding a second one
1.3.0 – Language list and settings
  • New: a fresh install shows TinyMCE's standard languages in the list, so it is clear that the list replaces the dropdown
  • Improved: setting texts explain that the list replaces TinyMCE's languages; placeholders for name and Prism value
  • Improved: updates via System → Update
  • Changed: plugin name "System - CodeSampleLangM", code cleaned up