Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 949584 Details for
Bug 1111154
Firefox does not translate 3-letter langage codes
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
script to generate language list from isocodes xml file
lang.py (text/x-python), 384 bytes, created by
Mattias Ellert
on 2014-10-22 21:53:19 UTC
(
hide
)
Description:
script to generate language list from isocodes xml file
Filename:
MIME Type:
Creator:
Mattias Ellert
Created:
2014-10-22 21:53:19 UTC
Size:
384 bytes
patch
obsolete
>#! /usr/bin/python3 > >import xml.etree.ElementTree as ET >tree = ET.parse('/usr/share/xml/iso-codes/iso_639.xml') >root = tree.getroot() > >c = {} >for entry in root.findall('iso_639_entry'): > code = entry.get('iso_639_1_code') > if not code: > code = entry.get('iso_639_2T_code') > c[code] = entry.get('name') > >for code in sorted(c.keys()): > print (code + ' = ' + c[code])
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1111154
:
910356
| 949584 |
949585