<?php

return [
    'title' => 'Languages',
    'subtitle' => 'Manage system languages, RTL, and default locale.',
    'switcher' => 'Switch language',
    'empty' => 'No languages yet.',
    'confirm_delete' => 'Delete this language? Translations for this locale will remain unless removed separately.',

    'create_title' => 'Add Language',
    'edit_title' => 'Edit Language',

    'fields' => [
        'code' => 'Code',
        'name' => 'Name',
        'native_name' => 'Native name',
        'default' => 'Default',
        'rtl' => 'RTL',
        'status' => 'Status',
        'rtl_label' => 'Right-to-left (RTL)',
        'active_label' => 'Active',
    ],

    'placeholders' => [
        'code' => 'e.g. en, ar, fr',
        'name' => 'e.g. English',
        'native_name' => 'e.g. العربية',
    ],

    'status' => [
        'active' => 'Active',
        'inactive' => 'Inactive',
        'default' => 'Default',
    ],

    'actions' => [
        'add' => 'Add Language',
        'create' => 'Create',
        'update' => 'Save changes',
        'set_default' => 'Set default',
        'activate' => 'Activate',
        'deactivate' => 'Deactivate',
    ],

    'flash' => [
        'created' => 'Language added successfully.',
        'updated' => 'Language updated successfully.',
        'deleted' => 'Language deleted successfully.',
        'default_set' => ':name is now the default language.',
        'switched' => 'Language switched to :name.',
    ],

    'errors' => [
        'cannot_delete_default' => 'You cannot delete the default language.',
        'cannot_deactivate_default' => 'You cannot deactivate the default language.',
        'not_available' => 'Language is not available.',
    ],
];
