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
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
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
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
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:
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'
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
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 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
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
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
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
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
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
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).
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,
>
&
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
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
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
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
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
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
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
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
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
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
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
>
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
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
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
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
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
"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
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
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
= 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:
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
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
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!
--~-
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:
>
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
41 matches
Mail list logo