2022-11-19 19:41:01 +01:00
name : LangSwitcher
2022-12-16 11:23:50 +01:00
version : 3.1 .0
2022-11-19 19:41:01 +01:00
description : LangSwitcher is a [Grav](https://github.com/getgrav/grav) plugin that provides native language text links to switch between [multiple languages](http://learn.getgrav.org/content/multi-language) in Grav **v0.9.30** or greater.
icon : globe
author :
name : Team Grav
email : devs@getgrav.org
url : http://getgrav.org
homepage : https://github.com/getgrav/grav-plugin-langswitcher
keywords : mulitlang, multilanguage, translation, switcher
bugs : https://github.com/getgrav/grav-plugin-langswitcher/issues
license : MIT
dependencies :
- { name: grav, version : '>=1.7.37' }
form :
validation : strict
fields :
enabled :
type : toggle
label : PLUGIN_ADMIN.PLUGIN_STATUS
highlight : 1
default : 1
options :
1 : PLUGIN_ADMIN.ENABLED
0 : PLUGIN_ADMIN.DISABLED
validate :
type : bool
built_in_css :
type : toggle
label : PLUGIN_LANGSWITCHER.BUILTIN_CSS
help : PLUGIN_LANGSWITCHER.BUILTIN_CSS_HELP
highlight : 1
default : 1
options :
1 : PLUGIN_ADMIN.ENABLED
0 : PLUGIN_ADMIN.DISABLED
validate :
type : bool
translated_urls :
type : toggle
label : PLUGIN_LANGSWITCHER.TRANSLATED_URLS
help : PLUGIN_LANGSWITCHER.TRANSLATED_URLS_HELP
highlight : 1
default : 1
options :
1 : PLUGIN_ADMIN.ENABLED
0 : PLUGIN_ADMIN.DISABLED
validate :
type : bool
language_display :
type : select
size : small
label : PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY
help : PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_HELP
default : long
options :
long : PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_LONG
short : PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_SHORT
untranslated_pages_behavior :
type : select
size : medium
label : PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR
help : PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_HELP
default : none
options :
none : PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_NONE
redirect : PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_REDIRECT
hide : PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_HIDE