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 15 years ago.
        Updated almost 15 years ago.
        
Start date:
31 January 2011
 
 
  
  
  
  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
  
 
  
  
    
    
    
    
       - 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.
 
     
   
  
  
  
  
    
    
    
    
    Test language plugin to confirm successful patch.
 
     
   
  
  
    
    
    
    
       - 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
 
     
   
  
 
  
  
 
Also available in:  Atom
  PDF