Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#7346 closed (invalid)

missing lang translation for django.contrib.humanize

Reported by: Vašek Chalupníček <mower@…> Owned by: nobody
Component: Translations Version: newforms-admin
Severity: Keywords: humanize translation
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Problem

I have found, that some languages are missing translations for django.contrib.humanize strings (in my case: I want naturalday templatetag to be localized to CS). Involved languages are:

ar, bn, cs, cy, da, el, gl, km, kn, ko, lv, mk, pt, ru, sk, sl, sr, ta, te, tr, uk, zh_CN, zh_TW

This list is gathered by running this bash script (the word "tomorrow" is, among the others, added to django.po by django.contrib.humanize)

#!/bin/bash

for dir in `pwd`/*
do
    OUTPUT=`cat $dir/LC_MESSAGES/django.po | grep -n 'tomorrow'`
    if [[ ! $OUTPUT ]]
    then
       echo "$dir";
    fi
done;

Workaround

Just add translations to your project (LC_MESSAGES/django.po), but be careful, they will be commented out when running make_messages

Solution

Solution is simple, all mentioned language's django.pos in django/conf/local should be updated. (I can help with 'cs' lang, send me email if you want so)

Change History (2)

comment:1 by Ludvig Ericson, 17 years ago

Resolution: invalid
Status: newclosed

This isn't really a valid ticket, because this is what language maintenance is all about: keep them up to date with Django's evolution.

I'll send a message to django-i18n for you, but in the future, these things ought to go out to the mailing lists.

Hope you're okay with me closing this as invalid.

in reply to:  description comment:2 by Marc Fargas, 17 years ago

Replying to Vašek Chalupníček:

I can help with 'cs' lang, send me email if you want so

Patches are always welcome, so feel free to upload a patch for "cs" on a new ticket, you can then bug the language maintainer (if any) to have updates commited ;)

Note: See TracTickets for help on using tickets.
Back to Top