Nova Ckeditor
  • 🏁Getting Started
    • Introduction
    • Installation
    • Support Us
    • License
    • Demo
  • 🚀Basic Usage
    • Usage
    • Notes
  • ⚙️Advanced Usage
    • Customize ImageStorage
    • Integrating NovaFileArtisan (Larupload) with Image Resource
    • Customize AudioStorage
    • Customize FileStorage
    • Multiple Toolbars
    • Customize Toolbar Items
    • Media Embed
    • CkEditor Field Options
      • Toolbar
      • Height
      • Limit On Index
      • Content Language
      • Force Paste as Plain Text
      • Alert Before Unsaved Changes
      • Text Part Language
      • General HTML Support
      • Group Items In Overflow Mode
      • Image Browser
      • Audio Browser
      • Video Browser
      • File Browser
      • Snippets
    • Configuration
      • Video Model
      • Image Model
      • Memory
      • Max Image Quality
      • Image Max Width
      • Image Max Height
      • Image Naming Method
      • Image Processing Library
      • Audio Naming Method
      • File Naming Method
      • Toolbars
        • Default Toolbar
        • Toolbar 1
          • Height
          • Items
          • Options
          • Content Lang
          • Force Paste as Plain Text
          • Alert Before Unsaved Changes
          • UI Language
            • UI Language Name
            • UI Language Script
          • Text Part Language
          • General HTML Support
          • Group Items In Overflow Mode
          • Image Browser
          • Audio Browser
          • Video Browser
          • File Browser
          • Insert Image Types
          • Insert Image Size
          • Snippets
  • ⚪Other
    • Migration
    • Credit and Thanks
Powered by GitBook
On this page
Edit on GitHub
  1. Advanced Usage
  2. Configuration
  3. Toolbars
  4. Toolbar 1
  5. UI Language

UI Language Script

toolbars.toolbar-1.ui-language.script

Property Name
Type
Default

toolbars.toolbar-1.ui-language.script

string

null

This option allows you to specify the URL of the language file to be used for the CKEditor's user interface (UI) within Toolbar in the NovaCkeditor field. This option provides the ability to load a language-specific JavaScript file that contains translations for the UI elements.

By default, this option is set to null, indicating that no language file is specified for the CKEditor UI. However, you can adjust this value to specify the URL of a language file that contains the translations for the desired language.

To configure the language file for the CKEditor's UI within Toolbar 1, update the value of toolbars.toolbar-1.ui-language.script in the config/nova-ckeditor.php file with the URL of the language file.

Example:

<?php

return [    
    'toolbars' => [
        'toolbar-1' => [
            'ui-language' => [
                'name' => 'fa',
                'script' => asset('js/ckeditor-fa.js'),
            ],
        ],
    ]
];

You can also specify an external URL if the language file is hosted on a CDN or another remote location.

PreviousUI Language NameNextText Part Language

Last updated 1 year ago

⚙️