Skip to content

Instantly share code, notes, and snippets.

@mxsasha
Created November 16, 2014 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mxsasha/86375a042988b8a781fc to your computer and use it in GitHub Desktop.
Save mxsasha/86375a042988b8a781fc to your computer and use it in GitHub Desktop.
django-localflavor translation report
-------------------------------------
This report analyses each localflavor to determine how many translatable
messages are translated in that flavor's language. The idea is that it is
much more important to translate the messages from the cn localflavor into
Chinese, than to translate the nl localflavor into Chinese, a distinction
that Transifex can not make for us.
Note that for breviety, only the first usage of the message is listed,
which could be in another flavor if messages are reused in multiple flavors.
Statistics for localflavor ar
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor at
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor au
-----------------------------
A fuzzy language match was found for this flavor: en_AU
Missing message in au/forms.py:27: Enter a 4 digit postcode.
Missing message in au/models.py:14: Australian State
Missing message in au/models.py:28: Australian Postcode
Missing message in au/models.py:45: Australian Phone number
Total score: 0% translated
Statistics for localflavor be
-----------------------------
An exact language match exists for this flavor.
Missing message in be/be_provinces.py:5: Antwerp
Missing message in be/be_provinces.py:6: Brussels
Missing message in be/be_provinces.py:7: East Flanders
Missing message in be/be_provinces.py:8: Flemish Brabant
Missing message in be/be_provinces.py:9: Hainaut
Missing message in be/be_provinces.py:10: Liege
Missing message in be/be_provinces.py:11: Limburg
Missing message in be/be_provinces.py:12: Luxembourg
Missing message in be/be_provinces.py:13: Namur
Missing message in be/be_provinces.py:14: Walloon Brabant
Missing message in be/be_provinces.py:15: West Flanders
Missing message in be/be_regions.py:5: Brussels Capital Region
Missing message in be/be_regions.py:6: Flemish Region
Missing message in be/be_regions.py:7: Wallonia
Missing message in be/forms.py:26: Enter a valid postal code in the range and format 1XXX - 9XXX.
Missing message in be/forms.py:50: Enter a valid phone number in one of the formats 0x xxx xx xx, 0xx xx xx xx, 04xx xx xx xx, 0x/xxx.xx.xx, 0xx/xx.xx.xx, 04xx/xx.xx.xx, 0x.xxx.xx.xx, 0xx.xx.xx.xx, 04xx.xx.xx.xx, 0xxxxxxxx or 04xxxxxxxx.
Total score: 0% translated
Statistics for localflavor br
-----------------------------
An exact language match exists for this flavor.
Missing message in ar/forms.py:58: This field requires only numbers.
Missing message in br/forms.py:31: Enter a zip code in the format XXXXX-XXX.
Missing message in br/forms.py:76: Select a valid brazilian state. That state is not one of the available states.
Missing message in br/forms.py:113: Invalid CPF number.
Missing message in br/forms.py:114: This field requires at most 11 digits or 14 characters.
Missing message in br/forms.py:166: Invalid CNPJ number.
Missing message in br/forms.py:168: This field requires at least 14 digits
Missing message in br/models.py:11: State of Brazil (two uppercase letters)
Total score: 0% translated
Statistics for localflavor ca
-----------------------------
An exact language match exists for this flavor.
Missing message in ca/ca_provinces.py:6: Alberta
Missing message in ca/ca_provinces.py:7: British Columbia
Missing message in ca/ca_provinces.py:8: Manitoba
Missing message in ca/ca_provinces.py:9: New Brunswick
Missing message in ca/ca_provinces.py:10: Newfoundland and Labrador
Missing message in ca/ca_provinces.py:11: Northwest Territories
Missing message in ca/ca_provinces.py:12: Nova Scotia
Missing message in ca/ca_provinces.py:13: Nunavut
Missing message in ca/ca_provinces.py:14: Ontario
Missing message in ca/ca_provinces.py:15: Prince Edward Island
Missing message in ca/ca_provinces.py:16: Quebec
Missing message in ca/ca_provinces.py:17: Saskatchewan
Missing message in ca/ca_provinces.py:18: Yukon
Missing message in ca/forms.py:71: Enter a Canadian province or territory.
Total score: 17% translated
Statistics for localflavor ch
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor cl
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor cn
-----------------------------
A fuzzy language match was found for this flavor: zh_CN
Missing message in cn/forms.py:84: Enter a post code in the format XXXXXX.
Missing message in cn/forms.py:106: ID Card Number consists of 15 or 18 digits.
Missing message in cn/forms.py:107: Invalid ID Card Number: Wrong checksum
Missing message in cn/forms.py:108: Invalid ID Card Number: Wrong birthdate
Missing message in cn/forms.py:109: Invalid ID Card Number: Wrong location code
Missing message in cn/forms.py:192: Enter a valid phone number.
Missing message in cn/forms.py:214: Enter a valid cell number.
Total score: 0% translated
Statistics for localflavor co
-----------------------------
A fuzzy language match was found for this flavor: es_CO
No translatable messages were found in this flavor.
Statistics for localflavor cz
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor de
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor dk
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor ec
-----------------------------
A fuzzy language match was found for this flavor: es_EC
No translatable messages were found in this flavor.
Statistics for localflavor ee
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor es
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor fi
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor fr
-----------------------------
An exact language match exists for this flavor.
Missing message in fr/forms.py:135: Enter a valid French French National Identification number.
Total score: 85% translated
Statistics for localflavor gb
-----------------------------
A fuzzy language match was found for this flavor: en_GB
Missing message in gb/forms.py:26: Enter a valid postcode.
Missing message in gb/gb_regions.py:5: Bedfordshire
Missing message in gb/gb_regions.py:6: Berkshire
Missing message in gb/gb_regions.py:7: Bristol
Missing message in gb/gb_regions.py:8: Buckinghamshire
Missing message in gb/gb_regions.py:9: Cambridgeshire
Missing message in gb/gb_regions.py:10: Cheshire
Missing message in gb/gb_regions.py:11: City of London
Missing message in gb/gb_regions.py:12: Cornwall
Missing message in gb/gb_regions.py:13: County Durham
Missing message in gb/gb_regions.py:14: Cumbria
Missing message in gb/gb_regions.py:15: Derbyshire
Missing message in gb/gb_regions.py:16: Devon
Missing message in gb/gb_regions.py:17: Dorset
Missing message in gb/gb_regions.py:18: East Riding of Yorkshire
Missing message in gb/gb_regions.py:19: East Sussex
Missing message in gb/gb_regions.py:20: Essex
Missing message in gb/gb_regions.py:21: Gloucestershire
Missing message in gb/gb_regions.py:22: Greater London
Missing message in gb/gb_regions.py:23: Greater Manchester
Missing message in gb/gb_regions.py:24: Hampshire
Missing message in gb/gb_regions.py:25: Herefordshire
Missing message in gb/gb_regions.py:26: Hertfordshire
Missing message in gb/gb_regions.py:27: Isle of Wight
Missing message in gb/gb_regions.py:28: Kent
Missing message in gb/gb_regions.py:29: Lancashire
Missing message in gb/gb_regions.py:30: Leicestershire
Missing message in gb/gb_regions.py:31: Lincolnshire
Missing message in gb/gb_regions.py:32: Merseyside
Missing message in gb/gb_regions.py:33: Norfolk
Missing message in gb/gb_regions.py:34: North Yorkshire
Missing message in gb/gb_regions.py:35: Northamptonshire
Missing message in gb/gb_regions.py:36: Northumberland
Missing message in gb/gb_regions.py:37: Nottinghamshire
Missing message in gb/gb_regions.py:38: Oxfordshire
Missing message in gb/gb_regions.py:39: Rutland
Missing message in gb/gb_regions.py:40: Shropshire
Missing message in gb/gb_regions.py:41: Somerset
Missing message in gb/gb_regions.py:42: South Yorkshire
Missing message in gb/gb_regions.py:43: Staffordshire
Missing message in gb/gb_regions.py:44: Suffolk
Missing message in gb/gb_regions.py:45: Surrey
Missing message in gb/gb_regions.py:46: Tyne and Wear
Missing message in gb/gb_regions.py:47: Warwickshire
Missing message in gb/gb_regions.py:48: West Midlands
Missing message in gb/gb_regions.py:49: West Sussex
Missing message in gb/gb_regions.py:50: West Yorkshire
Missing message in gb/gb_regions.py:51: Wiltshire
Missing message in gb/gb_regions.py:52: Worcestershire
Missing message in gb/gb_regions.py:57: County Antrim
Missing message in gb/gb_regions.py:58: County Armagh
Missing message in gb/gb_regions.py:59: County Down
Missing message in gb/gb_regions.py:60: County Fermanagh
Missing message in gb/gb_regions.py:61: County Londonderry
Missing message in gb/gb_regions.py:62: County Tyrone
Missing message in gb/gb_regions.py:67: Clwyd
Missing message in gb/gb_regions.py:68: Dyfed
Missing message in gb/gb_regions.py:69: Gwent
Missing message in gb/gb_regions.py:70: Gwynedd
Missing message in gb/gb_regions.py:71: Mid Glamorgan
Missing message in gb/gb_regions.py:72: Powys
Missing message in gb/gb_regions.py:73: South Glamorgan
Missing message in gb/gb_regions.py:74: West Glamorgan
Missing message in gb/gb_regions.py:79: Borders
Missing message in gb/gb_regions.py:80: Central Scotland
Missing message in gb/gb_regions.py:81: Dumfries and Galloway
Missing message in gb/gb_regions.py:82: Fife
Missing message in gb/gb_regions.py:83: Grampian
Missing message in gb/gb_regions.py:84: Highland
Missing message in gb/gb_regions.py:85: Lothian
Missing message in gb/gb_regions.py:86: Orkney Islands
Missing message in gb/gb_regions.py:87: Shetland Islands
Missing message in gb/gb_regions.py:88: Strathclyde
Missing message in gb/gb_regions.py:89: Tayside
Missing message in gb/gb_regions.py:90: Western Isles
Missing message in gb/gb_regions.py:95: England
Missing message in gb/gb_regions.py:96: Northern Ireland
Missing message in gb/gb_regions.py:97: Scotland
Missing message in gb/gb_regions.py:98: Wales
Total score: 0% translated
Statistics for localflavor gr
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor hk
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor hr
-----------------------------
An exact language match exists for this flavor.
Missing message in hr/forms.py:74: Enter a valid 13 digit JMBG
Missing message in hr/forms.py:75: Error in date segment
Missing message in hr/forms.py:121: Enter a valid 11 digit OIB
Missing message in hr/forms.py:151: Enter a valid location code
Missing message in hr/forms.py:152: Number part cannot be zero
Missing message in hr/forms.py:188: Enter a valid 5 digit postal code
Missing message in hr/forms.py:217: Enter a valid area or mobile network code
Missing message in hr/forms.py:218: The phone number is too long
Missing message in hr/forms.py:256: Enter a valid 19 digit JMBAG starting with 601983
Missing message in hr/forms.py:257: Card issue number cannot be zero
Missing message in hr/hr_choices.py:9: Grad Zagreb
Missing message in hr/hr_choices.py:10: Bjelovarsko-bilogorska županija
Missing message in hr/hr_choices.py:11: Brodsko-posavska županija
Missing message in hr/hr_choices.py:12: Dubrovačko-neretvanska županija
Missing message in hr/hr_choices.py:13: Istarska županija
Missing message in hr/hr_choices.py:14: Karlovačka županija
Missing message in hr/hr_choices.py:15: Koprivničko-križevačka županija
Missing message in hr/hr_choices.py:16: Krapinsko-zagorska županija
Missing message in hr/hr_choices.py:17: Ličko-senjska županija
Missing message in hr/hr_choices.py:18: Međimurska županija
Missing message in hr/hr_choices.py:19: Osječko-baranjska županija
Missing message in hr/hr_choices.py:20: Požeško-slavonska županija
Missing message in hr/hr_choices.py:21: Primorsko-goranska županija
Missing message in hr/hr_choices.py:22: Sisačko-moslavačka županija
Missing message in hr/hr_choices.py:23: Splitsko-dalmatinska županija
Missing message in hr/hr_choices.py:24: Šibensko-kninska županija
Missing message in hr/hr_choices.py:25: Varaždinska županija
Missing message in hr/hr_choices.py:26: Virovitičko-podravska županija
Missing message in hr/hr_choices.py:27: Vukovarsko-srijemska županija
Missing message in hr/hr_choices.py:28: Zadarska županija
Missing message in hr/hr_choices.py:29: Zagrebačka županija
Total score: 6% translated
Statistics for localflavor ie
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor il
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor it
-----------------------------
An exact language match exists for this flavor.
Missing message in it/forms.py:130: Enter a valid Italian phone number.
Missing message in it/util.py:46: Check digit does not match.
Total score: 60% translated
Statistics for localflavor jp
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor kw
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor lt
-----------------------------
An exact language match exists for this flavor.
Missing message in lt/forms.py:146: Phone number can only contain digits
Missing message in lt/forms.py:147: Could not validate the phone number
Total score: 97% translated
Statistics for localflavor lv
-----------------------------
An exact language match exists for this flavor.
Missing message in lv/forms.py:27: Enter a postal code in the format XXXX or LV-XXXX.
Missing message in lv/forms.py:52: Enter a Latvian personal code in format XXXXXX-XXXXX.
Missing message in lv/forms.py:53: Enter a valid Latvian personal code.
Total score: 97% translated
Statistics for localflavor mk
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor mt
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor mx
-----------------------------
A fuzzy language match was found for this flavor: es_MX
Missing message in mx/forms.py:251: Enter a valid Social Security Number.
Missing message in mx/forms.py:252: Invalid checksum for Social Security Number.
Missing message in mx/models.py:79: Mexican Social Security Number
Missing message in mx/mx_states.py:8: Aguascalientes
Missing message in mx/mx_states.py:9: Baja California
Missing message in mx/mx_states.py:10: Baja California Sur
Missing message in mx/mx_states.py:11: Campeche
Missing message in mx/mx_states.py:12: Chihuahua
Missing message in mx/mx_states.py:13: Chiapas
Missing message in mx/mx_states.py:14: Coahuila
Missing message in mx/mx_states.py:15: Colima
Missing message in mx/mx_states.py:16: Distrito Federal
Missing message in mx/mx_states.py:17: Durango
Missing message in mx/mx_states.py:18: Guerrero
Missing message in mx/mx_states.py:19: Guanajuato
Missing message in mx/mx_states.py:20: Hidalgo
Missing message in mx/mx_states.py:21: Jalisco
Missing message in mx/mx_states.py:22: Estado de México
Missing message in mx/mx_states.py:23: Michoacán
Missing message in mx/mx_states.py:24: Morelos
Missing message in mx/mx_states.py:25: Nayarit
Missing message in mx/mx_states.py:26: Nuevo León
Missing message in mx/mx_states.py:27: Oaxaca
Missing message in mx/mx_states.py:28: Puebla
Missing message in mx/mx_states.py:29: Querétaro
Missing message in mx/mx_states.py:30: Quintana Roo
Missing message in mx/mx_states.py:31: Sinaloa
Missing message in mx/mx_states.py:32: San Luis Potosí
Missing message in mx/mx_states.py:33: Sonora
Missing message in mx/mx_states.py:34: Tabasco
Missing message in mx/mx_states.py:35: Tamaulipas
Missing message in mx/mx_states.py:36: Tlaxcala
Missing message in mx/mx_states.py:37: Veracruz
Missing message in mx/mx_states.py:38: Yucatán
Missing message in mx/mx_states.py:39: Zacatecas
Total score: 20% translated
Statistics for localflavor nl
-----------------------------
An exact language match exists for this flavor.
Missing message in be/be_provinces.py:11: Limburg
Missing message in nl/models.py:19: Enter a valid bank account number
Missing message in nl/models.py:20: Bank account numbers have 1 - 7, 9 or 10 digits
Missing message in nl/nl_provinces.py:8: Drenthe
Missing message in nl/nl_provinces.py:9: Flevoland
Missing message in nl/nl_provinces.py:10: Fryslân
Missing message in nl/nl_provinces.py:11: Gelderland
Missing message in nl/nl_provinces.py:12: Groningen
Missing message in nl/nl_provinces.py:14: Noord-Brabant
Missing message in nl/nl_provinces.py:15: Noord-Holland
Missing message in nl/nl_provinces.py:16: Overijssel
Missing message in nl/nl_provinces.py:17: Utrecht
Missing message in nl/nl_provinces.py:18: Zeeland
Missing message in nl/nl_provinces.py:19: Zuid-Holland
Total score: 17% translated
Statistics for localflavor no
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor nz
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor pe
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor pk
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor pl
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor pt
-----------------------------
An exact language match exists for this flavor.
Missing message in pt/forms.py:38: The specified value is not a valid Citizen Card number.
Missing message in pt/forms.py:39: Citizen Card numbers have the format XXXXXXXXXYYX or XXXXXXXX-XYYX (where X is a digit and Y is an alphanumeric character).
Missing message in pt/forms.py:78: Phone numbers have at least 3 and at most 9 digits and may optionally be prefixed with '00351' or '+351'.
Missing message in pt/forms.py:113: The specified number is not a valid Social Security number.
Missing message in pt/forms.py:114: Social Security numbers must be in the format XYYYYYYYYYY (where X is either 1 or 2 and Y is any other digit).
Missing message in pt/forms.py:150: Zip codes must be in the format XYYY-YYY (where X is a digit between 1 and 9 and Y is any other digit).
Missing message in pt/pt_regions.py:7: Aveiro
Missing message in pt/pt_regions.py:8: Beja
Missing message in pt/pt_regions.py:9: Braga
Missing message in pt/pt_regions.py:10: Bragança
Missing message in pt/pt_regions.py:11: Castelo Branco
Missing message in pt/pt_regions.py:12: Coimbra
Missing message in pt/pt_regions.py:13: Évora
Missing message in pt/pt_regions.py:14: Faro
Missing message in pt/pt_regions.py:15: Guarda
Missing message in pt/pt_regions.py:16: Leiria
Missing message in pt/pt_regions.py:17: Lisboa
Missing message in pt/pt_regions.py:18: Portalegre
Missing message in pt/pt_regions.py:19: Porto
Missing message in pt/pt_regions.py:20: Santarém
Missing message in pt/pt_regions.py:21: Setúbal
Missing message in pt/pt_regions.py:22: Viana do Castelo
Missing message in pt/pt_regions.py:23: Vila Real
Missing message in pt/pt_regions.py:24: Viseu
Missing message in pt/pt_regions.py:25: Região Autónoma da Madeira
Missing message in pt/pt_regions.py:26: Região Autónoma dos Açores
Total score: 0% translated
Statistics for localflavor ro
-----------------------------
An exact language match exists for this flavor.
Missing message in ro/forms.py:28: Enter a valid CIF.
Missing message in ro/forms.py:66: Enter a valid CNP.
Missing message in ro/forms.py:177: Phone numbers may only have 7 or 10 digits, except the national short numbers which have 3 to 6 digits
Missing message in ro/forms.py:180: Normal phone numbers (7 or 10 digits) must begin with "0"
Missing message in ro/forms.py:182: National short numbers (3 to 6 digits) must begin with "1"
Total score: 16% translated
Statistics for localflavor ru
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor se
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor sg
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor si
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Statistics for localflavor sk
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor tr
-----------------------------
An exact language match exists for this flavor.
Total score: 100% translated
Statistics for localflavor uy
-----------------------------
A fuzzy language match was found for this flavor: es_UY
Missing message in uy/forms.py:30: Enter a valid CI number in X.XXX.XXX-X,XXXXXXX-X or XXXXXXXX format.
Missing message in uy/forms.py:32: Enter a valid CI number.
Total score: 0% translated
Statistics for localflavor za
-----------------------------
No matching language was found for this flavor.
THERE ARE NO TRANSLATIONS AT ALL FOR THIS FLAVOR (or the language is named differently).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment