Skip to content

21stdigital/statamic-language-iso639-fieldtype

 
 

Repository files navigation

Statamic Language (ISO 639) Dropdown Fieldtype

Statamic 3.0+

The simplest way to list every available language as a selectable dropdown 🤘

Features

  • Display a select field with every ISO 639 language.
  • Built-in localization in 22 languages.
  • Set a placeholder.
  • Allow multiple selections.
  • Set a maximum number of selectable items.
  • Enable searching through possible options.

Getting Started

We have made things easy for you start. Here is the three steps your need to follow:

  1. Install the addon
    This can be achieve by downloading our latest release and configuring the package as a path repository in your composer.json file.

  2. Add the Language ISO 639 select fieldtype.
    Choose your display and hanlde values. Customize the behavior using our various fieldtypes settings.

  3. Enjoy.

Built-in translations

Language values are automaticaly displayed in current user locale, based on the current locale from the App::getLocale() value.

The addon supports Breton, Czech, Danish, German, English, Spanish, Finnish, French, Hungarian, Islandic, Italian, Japanese, Lithuanian, Latvian, Dutch, Norwegian, Polish, Portuguese, Romanian, Russian, Swedish, Chinese.

What does your addon look like?

Statamic Language Selector Dropdown

Statamic Language Selector Options

Changelog

V1.0.1
📚 Language values are now displayed in current user locale.

V1.0.0
🚀 Launching this awesome fieldtype to the world.

About

Statamic fieldtype to select a language (ISO 639) in a dropdown

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 67.9%
  • PHP 24.2%
  • JavaScript 7.9%