Quicker way of selecting the installation language in the language list (move to top of list).
Options:
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | com_installer |
Labels |
Added:
J4 Issue
|
how does the existing installer work with that? does it grey out languages that are installed or?
Nothing special in 3.x.
The localise.xml file defines a default install language, thus it is already selected.
Nothing is modified when getting to the install language list if the user goes further there during installation. I would have to test again to find if the choice is given or not for defined default languages between both already present languages. (not on desktop now).
Are there still language distributions? I thought they had all stopped.
Example of the French custom distro:
Joomla_394-Stable-Full_Package_French_v1.zip
The custom distro contains fr-FR in the pack
This is what we get when we install:
installation/localise.xml
<?xml version="1.0" encoding="utf-8"?>
<localise version="3.9" client="installation">
<forceLang>fr-FR</forceLang>
<helpurl></helpurl>
<debug>0</debug>
<sampledata>sample_data_fr.sql</sampledata>
<params/>
</localise>
in the joomla.sql we can find:
_extensions table:
[...]
(11, 0, 'com_languages', 'component', 'com_languages', '', 1, 1, 1, 1, '', '{"administrator":"fr-FR","site":"fr-FR"}', '', '', 0, '0000-00-00 00:00:00', 0, 0),
[...]
(600, 802, 'English (en-GB)', 'language', 'en-GB', '', 0, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(601, 802, 'English (en-GB)', 'language', 'en-GB', '', 1, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(602, 803, 'French (fr-FR)' , 'language', 'fr-FR', '', 0, 1, 0, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(603, 803, 'French (fr-FR)' , 'language', 'fr-FR', '', 1, 1, 0, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(700, 0, 'files_joomla', 'file', 'joomla', '', 0, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(802, 0, 'English (en-GB) Language Pack', 'package', 'pkg_en-GB', '', 0, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0),
(803, 0, 'French_(fr-FR) Language Pack' , 'package', 'pkg_fr-FR', '', 0, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
[...]
_languages table
INSERT INTO `#__languages` (`lang_id`, `lang_code`, `title`, `title_native`, `sef`, `image`, `description`, `metakey`, `metadesc`, `sitename`, `published`, `access`, `ordering`) VALUES
(1, 'en-GB', 'English (en-GB)', 'English (United Kingdom)', 'en', 'en_gb', '', '', '', '', 1, 1, 2),
(2, 'fr-FR', 'Français (fr-FR)', 'Français (France)' , 'fr', 'fr_fr', '', '', '', '', 1, 1, 1);
_menu types
INSERT IGNORE INTO `#__menu_types` (`id`, `asset_id`, `menutype`, `title`, `description`, `client_id`) VALUES
(1, 0, 'mainmenu', 'Menu principal', 'Le menu principal du site', 0);
The _usergroups is also customised
INSERT INTO `#__usergroups` (`id`, `parent_id`, `lft`, `rgt`, `title`) VALUES
(1, 0, 1, 18, 'Public'),
(2, 1, 8, 15, 'Enregistré'),
(3, 2, 9, 14, 'Auteur'),
(4, 3, 10, 13, 'Rédacteur'),
(5, 4, 11, 12, 'Validateur'),
(6, 1, 4, 7, 'Gestionnaire'),
(7, 6, 5, 6, 'Administrateur'),
(8, 1, 16, 17, 'Super Utilisateur'),
(9, 1, 2, 3, 'Invité');
And as well the _viewlevels
INSERT INTO `#__viewlevels` (`id`, `title`, `ordering`, `rules`) VALUES
(1, 'Accès public', 0, '[1]'),
(2, 'Accès enregistré', 2, '[6,2,8]'),
(3, 'Accès spécial', 3, '[6,3,8]'),
(5, 'Accès invité', 1, '[9]'),
(6, 'Accès super utilisateur', 4, '[8]');
Status | Discussion | ⇒ | Information Required |
Closing this due to not receiving required information to determine if this is a bug or not. If you feel this still needs review, please open a new tracker entry with as much information as possible to ensure it can be reviewed properly
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-03 19:24:38 |
Closed_By | ⇒ | alikon |
I am re-opening this - it should not be closed. Please Please stop closing issues without reading them. And please stop using a default text that has no relevance to the topic.
Status | Closed | ⇒ | New |
Closed_Date | 2020-02-03 19:24:38 | ⇒ | |
Closed_By | alikon | ⇒ |
Labels |
Added:
?
No Code Attached Yet
Removed: ? |
Reminder: custom distros may already include another language than en-GB and its default installation language selected.