Description\n-----------\n\nThe LOCALES plugin creates the LOCALES table in the INFORMATION_SCHEMA database. The plugin also adds the SHOW LOCALES statement.The table and statement can be queried to see all locales that are compiled into the server.\n\nInstalling the Plugin\n\nAlthough the plugin's shared library is distributed with MariaDB by default, the plugin is not actually installed by MariaDB by default. There are two methods that can be used to install the plugin with MariaDB.\n\nThe first method can be used to install the plugin without restarting the server. You can install the plugin dynamically by executing INSTALL SONAME or INSTALL PLUGIN. For example:\n\n``sql\nINSTALL SONAME 'locales';\n`\n\nThe second method can be used to tell the server to load the plugin when it starts up. The plugin can be installed this way by providing the --plugin-load or the --plugin-load-add options. This can be specified as a command-line argument to mysqld or it can be specified in a relevant server option group in an option file. For example:\n\n`sql\n[mariadb]\n...\nplugin_load_add = locales\n`\n\nUninstalling the Plugin\n\nYou can uninstall the plugin dynamically by executing UNINSTALL SONAME or UNINSTALL PLUGIN. For example:\n\n`sql\nUNINSTALL SONAME 'locales';\n``\n\nIf you installed the plugin by providing the --plugin-load or the --plugin-load-add options in a relevant server option group in an option file, then those options should be removed to prevent the plugin from being loaded the next time the server is restarted.\n\nExamples\n--------\n\nSELECT * FROM INFORMATION_SCHEMA.LOCALES;\n+-----+-------+-------------------------------------+-----------------------+---------------------+---------------+--------------+------------------------+\n| ID  | NAME  | DESCRIPTION                         | MAX_MONTH_NAME_LENGTH | MAX_DAY_NAME_LENGTH | DECIMAL_POINT | THOUSAND_SEP | ERROR_MESSAGE_LANGUAGE |\n+-----+-------+-------------------------------------+-----------------------+---------------------+---------------+--------------+------------------------+\n|   0 | en_US | English - United States             |                     9 |                   9 | .             | ,            | english                |\n|   1 | en_GB | English - United Kingdom            |                     9 |                   9 | .             | ,            | english                |\n|   2 | ja_JP | Japanese - Japan                    |                     3 |                   3 | .             | ,            | japanese               |\n|   3 | sv_SE | Swedish - Sweden                    |                     9 |                   7 | ,             |              | swedish                |\n|   4 | de_DE | German - Germany                    |                     9 |                  10 | ,             | .            | german                 |\n|   5 | fr_FR | French - France                     |                     9 |                   8 | ,             |              | french                 |\n|   6 | ar_AE | Arabic - United Arab Emirates       |                     6 |                   8 | .             | ,            | english                |\n|   7 | ar_BH | Arabic - Bahrain                    |                     6 |                   8 | .             | ,            | english                |\n|   8 | ar_JO | Arabic - Jordan                     |                    12 |                   8 | .             | ,            | english                |\n...\n| 106 | no_NO | Norwegian - Norway                  |                     9 |                   7 | ,             | .            | norwegian              |\n| 107 | sv_FI | Swedish - Finland                   |                     9 |                   7 | ,             |              | swedish                |\n| 108 | zh_HK | Chinese - Hong Kong SAR             |                     3 |                   3 | .             | ,            | english                |\n| 109 | el_GR | Greek - Greece                      |                    11 |                   9 | ,             | .            | greek                  |\n| 110 | rm_CH | Romansh - Switzerland               |                     9 |                   9 | ,             | .            | english                |\n+-----+-------+-------------------------------------+-----------------------+---------------------+---------------+--------------+------------------------+\n\nURL: https://mariadb.com/docs/server/reference/data-types/string-data-types/character-sets/internationalization-and-localization/locales-plugin