tag:blogger.com,1999:blog-4345066302652424538.post8130740946899131781..comments2023-09-27T09:21:42.903+02:00Comments on @datapythonista: GSoC: Implementation of additional i18n features on DjangoMarchttp://www.blogger.com/profile/01286849404527531329noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-4345066302652424538.post-37484691081337251692009-08-02T00:11:09.202+02:002009-08-02T00:11:09.202+02:00Hi Marc, I appreciate your afford to make django m...Hi Marc, I appreciate your afford to make django more i18n.<br /><br />Concerning the "translation of dynamic content in db" I've been using django-multilingual for more than a year. I'm very satisfied. I think best you can do is to use core of django-multilingual make new syntax of model as you show the most popular one, change the position of fields in admin (one field for all languages one beside other) and enable sorting in admin.<br /><br />Then it would be fine to have a django_languages model where would be fixtures of all languages of the world to be able to use these ids in translated tables.<br /><br />class Languages(models.Model):<br /> laguage_code = models.CharField(max_length=5) #de-at<br /> original_name = models.CharField(max_length=100) # Deutsch<br /> name = models.CharField(max_length=100)<br /><br /> class Meta:<br /> translate = ('name',)veenanoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-76596154940578149262009-07-24T23:10:16.191+02:002009-07-24T23:10:16.191+02:00I come across your post while i was searching how ...I come across your post while i was searching how to convert decimal separator from . to , in django template. I think it is better to use template filter for this kind of format conversion. Also you can see my post http://unilixmania.blogspot.com/2009/07/at-this-moment-i-am-writing-django.htmlfunkypunkydrunkyhttps://www.blogger.com/profile/09542385738803901337noreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-25966131767050032532009-05-20T10:13:13.123+02:002009-05-20T10:13:13.123+02:00As Aidas mentions above, changing the ordering of ...As Aidas mentions above, changing the ordering of a model to the natural language in request.LANGUAGE_CODE in the admin site is a very important feature, especially when users of the same admin speak different languages.<br /><br />Also, I'm involved in a discussion about using gettext all the way, also for translating model fields. Not sure if that's possible or something you'd consider. You might want to drop a line there: http://groups.google.com/group/django-users/browse_thread/thread/d301bb407d53b3eb.Wouter van der Graafnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-12617287928378477312009-04-28T12:48:00.000+02:002009-04-28T12:48:00.000+02:00Hi,
this ticket could be useful:
http://code.djang...Hi,<br />this ticket could be useful:<br />http://code.djangoproject.com/ticket/7231<br />See the example.Davide Muzzarellihttp://www.dav-muz.netnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-57778993506300074702009-04-27T14:04:00.000+02:002009-04-27T14:04:00.000+02:00Another very important goal for translatable field...Another very important goal for translatable fields is being able to sort items by the translated values and search in translated values in administration.<br /><br />And another problem to solve with translatable fields is how to define fixtures if the number of languages is varying.Aidas Bendoraitishttp://djangotricks.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-4308198647079754092009-04-27T13:45:00.000+02:002009-04-27T13:45:00.000+02:00Have you checked Babel (http://babel.edgewall.org/...Have you checked Babel (http://babel.edgewall.org/wiki/BabelDjango)? It already has a mechanism for storing all localization data from (possibly) all languages of the world and also it has functions for converting dates and numbers to localized format and vice versa.<br /><br />I have already written form fields and widgets for localized input using Babel. They should just be tested. I could share the code, just contact me by bendoraitis (a.t) studio38 (d.o.t) de if you are interested.Aidas Bendoraitishttp://djangotricks.blogspot.com/noreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-21884740502365835192009-04-25T17:24:00.000+02:002009-04-25T17:24:00.000+02:00This is good news. I've been using django a lot la...This is good news. I've been using django a lot lately (of course, you already know it), but I keep myself using plone for some jobs. One of the reasons behind that choice is Linguaplone, which allow users to manage translatable content in a very easy way (perhaps you should take a look there too and gather some ideas ;D).<br /><br />Ah!, and if you need some help with this, just ask me, as usual.Wuhttp://blog.e-shell.orgnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-1076554271564709262009-04-25T14:01:00.000+02:002009-04-25T14:01:00.000+02:00whats wrong with the sites framework?whats wrong with the sites framework?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-35367424372070302882009-04-24T21:46:00.000+02:002009-04-24T21:46:00.000+02:00It would be nice if you could also add i18n suppor...It would be nice if you could also add i18n support for urls.py. For SEO compliance localized urls are important and at the moment its very hard to accomplish this.Patrickhttp://github.com/digi604/django-cms-2.0/noreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-91156719047233520742009-04-24T21:39:00.000+02:002009-04-24T21:39:00.000+02:00Hello, check this ticket during you work http://c...Hello, check this ticket during you work http://code.djangoproject.com/ticket/3591overkrikhttps://www.blogger.com/profile/14853265986708516407noreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-36221281660226574342009-04-24T21:13:00.000+02:002009-04-24T21:13:00.000+02:00Awesome! Can't wait to have better support in Dja...Awesome! Can't wait to have better support in Django for translated db content.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4345066302652424538.post-62349270960030653542009-04-24T20:28:00.000+02:002009-04-24T20:28:00.000+02:00Animo, es lo que necesito para pasar de symfony a ...Animo, es lo que necesito para pasar de symfony a django.<br /><br />El modelo de symfony, propel, tiene una internacionalizacion del contenido dinamico buena.rubenruahttp://rubenrua.esnoreply@blogger.com