Django multilingual

2008-01-25 Thread Piotr Majewski
I would love to have the (native) feature that django-multilingual gives. For me an many developers i know this is vital. Is it any way that django 1.0 will support multilingual models (content) ? --~--~-~--~~~---~--~~ You received this message because you are

Django-multilingual

2007-10-07 Thread Chris Hoeppner
Hi there! I wonder if someone has been using django-multilingual. I'd like to "push it into" a live database, and am wondering what kind of alterations to the schema this might involve. Would it be easier to just add _lang columns for all the fields I'd like to translat

Django-multilingual

2007-11-19 Thread Marcin Kaszynski
Hi, this is just a quick note that after a couple of months of hiatus the Django-Multilingual library went from 'unmaintained' to 'maintained as time permits', which will hopefully be okay for most uses. I received several offers of help, which is incredibly cool and alre

django-multilingual issues

2009-03-05 Thread phred78
Hi, I'm using django-multilingual to get some models translated, but I found two errors. class Translation(multilingual.Translation): title = models.CharField(max_length=120, blank=True) introduction = models.TextField(blank=True) body = models.TextField(blank

django-multilingual NotImplementedError

2010-02-11 Thread crsantos
Hi: Anyone having troubles with latest version of django-multilingual? I just added a translation class to my model as this: class Post(models.Model): class Translation (multilingual.Translation): title = models.CharField(max_length=200) body

Django Multilingual Model

2011-01-31 Thread Alagu Madhu
Hi I am looking best model for the following tables: - ---Table : groups_t - CREATE TABLE groups_t ( id BIGINT NOT NULL, code VARCHAR NOT NULL, version BIGINT NOT NULL ); - ---Table : groups_i18n_t - CREATE TABLE groups_i18n_t ( group_id BIGINT NOT NULL, lan

Re: Django multilingual

2008-01-25 Thread Russell Keith-Magee
On Jan 26, 2008 6:03 AM, Piotr Majewski <[EMAIL PROTECTED]> wrote: > > I would love to have the (native) feature that django-multilingual > gives. For me an many developers i know this is vital. Is it any way > that django 1.0 will support multilingual models (content) ? Hi Pio

Re: Django multilingual

2008-01-26 Thread Piotr Majewski
i <[EMAIL PROTECTED]> wrote: > > > > > I would love to have the (native) feature that django-multilingual > > gives. For me an many developers i know this is vital. Is it any way > > that django 1.0 will support multilingual models (content) ? > > Hi Piotr, > &

Re: Django multilingual

2008-01-26 Thread Ivan Illarionov
Piotr, having django-multilingual features in the core won't make them any better. Complex models and use-cases will still need custom/manual solutions. It will add unneeded overhead to single-language sites and may even break the sites that use explicit custom solutions (like mine).

Re: Django multilingual

2008-01-27 Thread maco
Can you share the logic behind the models and views you use. Don't need to go into details, just the philosophy behind it, eg. http://orestis.gr/en/blog/2007/05/14/international-part3/ cheers On Jan 26, 5:36 pm, Ivan Illarionov <[EMAIL PROTECTED]> wrote: > Piotr, having djang

Re: Django multilingual

2008-01-27 Thread Ivan Illarionov
Models that need flexibility have `lang` and `is_translation_of` fields. Views (or custom managers) filter the output based on `lang` and add the link to other language if translation exists. Some models just have two separate text fields for each language and views (or custom managers) display th

Re: Django multilingual

2008-01-28 Thread Horst Gutmann
2008/1/28 Ivan Illarionov <[EMAIL PROTECTED]>: > Models that need flexibility have `lang` and `is_translation_of` > fields. Views (or custom managers) filter the output based on `lang` > and add the link to other language if translation exists. Some models > just have two separate text fields for

Re: Django multilingual

2008-01-28 Thread code_berzerker
Theres earlier similar discussion. http://groups.google.com/group/django-users/browse_frm/thread/d6e7eab4cc81c7b8 For unlimited landuage support check my post at this thread. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Django-multilingual

2007-10-07 Thread Alex Koshelev
I've use django-multilingual in many projects and happy. It's simple to integrate and use. No other implementations can do it so transparent for developer and end user( django-multilingual extends admin edit page and allows edit entry in all languages very simple). Use it! Chris Hoep

Re: Django-multilingual

2007-10-08 Thread Chris Hoeppner
in usage? El dom, 07-10-2007 a las 16:09 +, Alex Koshelev escribi�: > I've use django-multilingual in many projects and happy. It's simple > to integrate and use. No other implementations can do it so > transparent for developer and end user( django-multilingual extends &g

Re: Django-multilingual

2007-11-09 Thread Matthias Urlichs
I've been hacking on django-multilingual a bit in the last few days. Fixes, so far: * import it into git (OK, that's not a fix per se, but how would I work on it otherwise?) * language codes in the database instead of in settings.py. Yay! * allow "unique" constraints in tra

Re: Django-multilingual

2007-11-19 Thread Kenneth Gonsalves
On 20-Nov-07, at 3:03 AM, Marcin Kaszynski wrote: > this is just a quick note that after a couple of months of hiatus the > Django-Multilingual library went from 'unmaintained' to 'maintained as > time permits', which will hopefully be okay for most uses. from

Re: Django-multilingual

2007-11-20 Thread Marcin Kaszynski
On Nov 20, 2:23 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > from the 'introduction' page, the links to the 'installation' and > 'usage' pages are broken Fixed, thanks! -mk --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

ANN: django-multilingual-ng

2010-02-19 Thread Jonas Obrist
Since the official django-multilingual [1] does not support Django 1.2 (and has some other annoying things in my opinion), I decided to create a new project based off django-multilingual which works in 1.2 and has some other improvements. This project is called django-multilingual-ng, it'

Localeurl and django-multilingual

2010-05-08 Thread Alessandro Ronchi
I need to have links with language code prefix, and different contents. I've achieved that with both localeurl and django-multilingual, and I can get the tranlated version if i choice the correct url: for example http://mydomain.com/it/c/auto-intere/1/ and http://mydomain.com/pl/c/auto-int

Django multilingual app, urls

2007-05-25 Thread Eugene Morozov
Hello, I'm creating Django multilingual app using django-multilingual and homebrew middleware. My middleware is similar to Django LocaleMiddleware but it doesn't perform language negotiation (because search engines doesn't perform language negotiations and I need to provide the

Having trouble with django-multilingual

2008-11-06 Thread Brandon Taylor
Hi Everyone, I'm having a hard time getting django-multilingual to work the way I expect. #settings.py LANGUAGES = ( ('en', 'English'), ('es', 'Spanish'), ) TEMPLATE_CONTEXT_PROCESSORS = ( ... 'multilingual.conte

Re: ANN: django-multilingual-ng

2010-03-27 Thread ronconi
can see it in the language previously defined. But if I try to change the language, I receive a CSRF verification failed. Request aborted. I'm using Django 1.2 (beta 1) and django-multilingual-ng-0.1.20. I created a template named languages.html to encapsulate this function. The actual code is:

Re: Localeurl and django-multilingual

2010-05-10 Thread Nuno Maltez
How are you creating the url for the links? Are you using the {% url %} tag and reverse() functions? It should work, we have sites with localeurl and django-multilingual running fine in production. Nuno On Sat, May 8, 2010 at 12:34 PM, Alessandro Ronchi wrote: > I need to have links w

Re: Localeurl and django-multilingual

2010-05-10 Thread Alessandro Ronchi
2010/5/10 Nuno Maltez > How are you creating the url for the links? Are you using the {% url > %} tag and reverse() functions? It should work, we have sites with > localeurl and django-multilingual running fine in production. > > I solved with your solution. Thanks. -- Al

Another problem with django-multilingual

2007-05-22 Thread Eugene Morozov
Hello, I'm trying to use django-multilingual for multilingual site, instead of reinventing the wheel. But in admin interface I get: "Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is

Re: Django multilingual app, urls

2007-05-25 Thread Thomas Rabaix
guage code. - find a way that the get_absolute_url return link with the correct language code Thomas Eugene Morozov wrote: > Hello, > I'm creating Django multilingual app using django-multilingual and > homebrew middleware. My middleware is similar to Django > LocaleMiddleware but

Another suggestion for django-multilingual

2007-05-28 Thread Eugene Morozov
Hello, I found another deficiency in django-multilingual. I'm sure that on many sites, including the one I'm developing now, there would be one primary language for content and translations will appear slowly after the content in the primary language is published. I want to display

Django-multilingual newforms-admin branche?

2007-06-01 Thread Glin
Hi, I wonder if there is branch of django-multilingual for newforms- admin? I suppose that newforms admin will be merged with trunk in one or two releases and lot of people already works with newforms admin, so it would be great to have the posibility to work with multilingual models in newfomrs

Re: Having trouble with django-multilingual

2008-11-06 Thread Alex Koshelev
Django-multilingual has its own discussion group: http://groups.google.com/group/django-multilingual. Try to ask there. On Thu, Nov 6, 2008 at 18:44, Brandon Taylor <[EMAIL PROTECTED]>wrote: > > Hi Everyone, > > I'm having a hard time getting django-multilingual to

Re: Another problem with django-multilingual

2007-05-22 Thread Eugene Morozov
= 38)) Aliases must be quoted by django, but they aren't. I've tried to find what causes this quoting error but gave up after two hours... Need to get some sleep. Did anyone attempted to use django-multilingual? Eugene On 22 май, 19:44, Eugene Morozov <[EMAIL PROTECTED]> wrote:

Re: Another problem with django-multilingual

2007-05-22 Thread [EMAIL PROTECTED]
Hi Eugene, On May 22, 5:44 pm, Eugene Morozov <[EMAIL PROTECTED]> wrote: > I'm trying to use django-multilingual for multilingual site, instead > of reinventing the wheel. But in admin interface I get: > "Something's wrong with your database installation. Make s

Re: Another problem with django-multilingual

2007-05-22 Thread [EMAIL PROTECTED]
on attempts to > savemultilingualobjects, because of such invalid constructs: It is the same issue: django-multilingual constructs incorrect table names for language codes that contain a dash. I just committed a fix for that. > Aliases must be quoted by django, but they aren't. I've tr

Re: Another problem with django-multilingual

2007-05-22 Thread Eugene Morozov
"AttributeError: 'module' object has no attribute 'multilingual'" Eugene On 23 май, 00:06, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Eugene, > > On May 22, 5:44 pm, Eugene Morozov <[EMAIL PROTECTED]> wrote: > > > I

Re: Another problem with django-multilingual

2007-05-22 Thread [EMAIL PROTECTED]
On May 23, 12:45 am, Eugene Morozov <[EMAIL PROTECTED]> wrote: > Thank you for fixing the bug so quickly. But if you'll add > 'i18n.multilingual' to the list of installed apps in the settings.py > in the example I've attached to #22, then "manage.py runserver" or > "manage.py syncdb" commands stop

Re: Django-multilingual newforms-admin branche?

2007-06-01 Thread Russell Keith-Magee
On 6/1/07, Glin <[EMAIL PROTECTED]> wrote: > > Hi, I wonder if there is branch of django-multilingual for newforms- > admin? > > I suppose that newforms admin will be merged with trunk in one or two > releases and lot of people already works with newforms admin, so it >

Re: Django-multilingual newforms-admin branche?

2007-06-03 Thread [EMAIL PROTECTED]
Hi, On Jun 1, 11:05 am, Glin <[EMAIL PROTECTED]> wrote: > Hi, I wonder if there is branch of django-multilingualfor newforms- > admin? Nope, there is no such branch yet, but I would be more than happy to see someone helping out with this. It would be even better if it was possible to detect and

Problem with django-multilingual and admin interface

2007-05-13 Thread Jan Söderback
Hello, I'm trying to use Marcin Kaszynski's django-multilingual plugin, but when I try to use the add action in the admin interface for a translatable class, I get an exception: - Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/django/core/h

Re: Problem with django-multilingual and admin interface

2007-05-13 Thread Jure Čuhalev
gards, Jure Cuhalev On 5/13/07, Jan Söderback <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to use Marcin Kaszynski's django-multilingual plugin, but > when I try to use the add action in the admin interface for a > translatable class, I get an exception: >

Re: Problem with django-multilingual and admin interface

2007-05-13 Thread Jan Söderback
On May 13, 10:57 pm, "Jure Čuhalev" <[EMAIL PROTECTED]> wrote: > I was hit by the same problem. If you add a property to your class > Play (not to the Translation one) then Translation will be able to > bound to something visible in Admin and it will work. That worked. Thank you very much! --~-

Re: Problem with django-multilingual and admin interface

2007-05-13 Thread [EMAIL PROTECTED]
Hi Jan, On May 13, 9:38 pm, Jan Söderback <[EMAIL PROTECTED]> wrote: > Any ideas about what might be missing? it is a bug in Django admin interface -- the edit view assumes that the model has at least one editable field. You can either use Jure's workaround or patch your copy of Django. See th