When edit language it is not possible to clone a language.
Core 2.1.1 and 2.2.0-dev
admin/controllers/Language.php
function _saveLanguage()
Original Code
[php]if ($save_type === 'added' AND $this->input->post('clone_language') === '1') {
if ( ! clone_language($this->input->post('idiom'), $this->input->post('language_to_clone'))) {
$this->alert->set('warning', sprintf($this->lang->line('alert_error_nothing'), $this->lang->line('text_cloned')));
}
}[/php]
Changed Code
[php]if ($save_type === 'added' OR $save_type === 'updated' AND $this->input->post('clone_language') === '1') {
if ( ! clone_language($this->input->post('idiom'), $this->input->post('language_to_clone'))) {
$this->alert->set('warning', sprintf($this->lang->line('alert_error_nothing'), $this->lang->line('text_cloned')));
}
}[/php]