Project

General

Profile

Actions

Bug #2271

closed

J16.0 : language plugin names can not be english name of language anymore and must be ISO tag as name inexistent in XML file

Added by nant almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
31 January 2011
Due date:
% Done:

100%

Estimated time:
5:00 h

Description

From Russian language xml file for Joomla 1.6.0

    <metadata>
        <name>Руссский (Москва)</name>
        <tag>ru-RU</tag>
        <rtl>0</rtl>
                <locale>ru_RU.utf8, ru_RU.UTF-8, ru_RU, rus_RU, ru, russian, russian-ru, RU, RUS</locale>
        <firstDay>0</firstDay>
    </metadata>

I have attached the frontend and backend russion language xml files.

We need to find method to not depend on name tag at all.


Files

ru-RU.xml (3.96 KB) ru-RU.xml nant, 31 January 2011 19:02
ru-RU_this_one_is_for_backend_.xml (8.51 KB) ru-RU_this_one_is_for_backend_.xml nant, 31 January 2011 19:02
2271.patch (4.92 KB) 2271.patch krileon, 31 January 2011 21:50
en-GB.zip (57.4 KB) en-GB.zip krileon, 01 February 2011 00:26
Actions #1

Updated by krileon almost 14 years ago

  • Status changed from Assigned to Resolved
  • Assignee changed from krileon to beat
  • % Done changed from 0 to 100

Added tag support, plugins can now be structured as follows.

New:
language/en-GB/language.php
Old:
language/english/english.php

Both methods are supported. Seeing as CBSubs and GJ 2.0 have language rendering built in they'll both need updating to support this new usage otherwise they will not support tags.

Actions #2

Updated by krileon almost 14 years ago

Actions #3

Updated by krileon almost 14 years ago

Test language plugin to confirm successful patch.

Actions #4

Updated by beat almost 14 years ago

  • Subject changed from J160 language xml might not use English at all in name tag to J16.0 : language plugin names can not be english name of language anymore and must be ISO tag as name inexistent in XML file
  • Status changed from Resolved to Closed
  • Estimated time set to 5:00 h

Patch accepted and committed in r1399 except for: case 'lang_name' as alias of existing 'lang', as we don't want aliases in a often used function.

Thank you Nick and Kyle

Actions

Also available in: Atom PDF