Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 2.95 KB

README.md

File metadata and controls

56 lines (38 loc) · 2.95 KB

Laravel Nova Trumbowyg Field

RU readme

Trumbowyg (WYSIWYG editor) with localization!

This component adds the ability to use WYSIWYG fields instead of standard Textarea or Trix fields.

Component Base:

To switch localizations you can use Language Switch

How to use it in your component

Language is detected automatically - app()->getLocale()

use MrVaco\NovaTrumbowygField\NovaTrumbowygField;

public function fields(NovaRequest $request): array
{
    return [
        NovaTrumbowygField::make('Your field name', 'db column'),
    ];
}

List of available localizations

"en" - English - by default

ar - Arabic es - Spanish it - Italian pt - Portuguese th - Thai
az - Azerbaijani es_ar - Spanish (Argentina) ja - Japanese pt_br - Portuguese Brazilian tr - Turkish
bg - Bulgarian et - Estonian ko - Korean ro - Romanian ua - Ukrainian
bn - Bangla fa - Persian lt - Lithuanian rs - Serbian (Cyrlic) vi - Vietnamese
by - Belarusian fi - Finnish mn - Mongolian rs_latin - Serbian (Latin) zh_cn - Simplified Chinese
ca - Catalan fr - French my - Malaysian ru - Russian zh_tw - Traditional Chinese
cs - Czech he - Hebrew nb - Norwegian Bokmål sk - Slovak
da - Danish hr - Croatian nl - Dutch sl - Slovenian
de - German hu - Hungarian ph - Filipino sq - Albanian
el - Greek id - Indonesian pl - Polish sv - Swedish

I did not translate - all localization files were taken from Trumbowyg repository.

Each localization file indicates the author of the translation.


Light theme

Dark theme