Form Translation (#616)
* Form Translation * Support for other languages * Support locale for datepicker * Apply translation on select input * Apply translation on select input * Improve translation --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -41,6 +41,8 @@ class Form extends Model implements CachableAttributes
|
||||
|
||||
public const VISIBILITY = ['public', 'draft', 'closed'];
|
||||
|
||||
public const LANGUAGES = ['en', 'fr', 'hi', 'es', 'ar', 'zh', 'ja'];
|
||||
|
||||
protected $fillable = [
|
||||
'workspace_id',
|
||||
'creator_id',
|
||||
@@ -52,6 +54,7 @@ class Form extends Model implements CachableAttributes
|
||||
'visibility',
|
||||
|
||||
// Customization
|
||||
'language',
|
||||
'font_family',
|
||||
'custom_domain',
|
||||
'size',
|
||||
|
||||
Reference in New Issue
Block a user