Re: Translations & Internationalization in Django Rest Framework

2020-03-10 Thread Alaydyn Gholechragh
Django translations is good for static value but for new value in database? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups

Re: Translations & Internationalization in Django Rest Framework

2020-03-10 Thread Aldian Fazrihady
I am using Django translation on DRF. Here is the doc on Django translation. On Wed, Mar 11, 2020 at 1:17 AM Alaydyn Gholechragh wrote: > hi > > which component I can use for translation(Internationalization) in Django > Rest Framework ?? easy and with best documents

Translations & Internationalization in Django Rest Framework

2020-03-10 Thread Alaydyn Gholechragh
hi which component I can use for translation(Internationalization) in Django Rest Framework ?? easy and with best documents and examples ?? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-02 Thread kenneth gonsalves
On Sat, 2012-06-02 at 02:58 -0700, Houmie wrote: > The good news is the problem is solved. A friendly chap in > stackoverflow > actually bothered to look into it. > > The problem is as simple as the translation files couldn't be found. > For > some odd reason the important information about how

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-02 Thread Houmie
> > Hi Kenneth, The good news is the problem is solved. A friendly chap in stackoverflow actually bothered to look into it. The problem is as simple as the translation files couldn't be found. For some odd reason the important information about how Django locates them is at the very last se

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-01 Thread kenneth gonsalves
On Fri, 2012-06-01 at 10:58 -0700, Houmie wrote: > I would really appreciate it if somebody could help me with this. > Working on this since this morning and am totally stuck.. > > could you try with revision 17860 and see if it works. I have the same problem, and am stuck with 17860 - unfortuna

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-01 Thread Houmie
Guys, I have created a new simple test project to demonstrate the problem. It is a very simple project and you can switch between German & English at main page. You see the selected Language code actually changes, which is a good sign but the translation simply doesn't happen. I wonder if t

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-01 Thread Houmie
Hi Ivan, Thank you for your help. I have already lazy translation implemented for the forms like this: from django.utils.translation import ugettext_lazy as _ class FriendInviteForm(forms.Form): name = forms.CharField(label=_("Friend's Name")) email = forms.EmailField(label= _("Friend's

Re: Internationalization in Django 1.4 doesn't seem to work

2012-06-01 Thread Iván Raskovsky
; > I would really appreciate it if somebody could help me with this. > Working on this since this morning and am totally stuck.. > > I have posted it with proper formatting on stack overflow. > > http://stackoverflow.com/questions/10854330/internationalization-in-django-doesnt-get-acti

Internationalization in Django 1.4 doesn't seem to work

2012-06-01 Thread Houmie
Hey everyone, I would really appreciate it if somebody could help me with this. Working on this since this morning and am totally stuck.. I have posted it with proper formatting on stack overflow. http://stackoverflow.com/questions/10854330/internationalization-in-django-doesnt-get-activated

Odp: Aw: Internationalization in Django.

2011-06-15 Thread Robert
What about django-datatrans ? Had no problems with that. RM. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-wSxOnaLg2gJ. To post to this group, send ema

Aw: Internationalization in Django.

2011-06-02 Thread Martin Brochhaus
There are dozens of approaches for this: http://djangopackages.com/grids/g/model-translation/ Most of them are old, not documented, outdated, abandonned or just slow. The newest player in this field is django-nani and I would recommend you to give it a try! Best regards, Martin -- You receive

Re: Internationalization in Django.

2011-06-02 Thread Kenneth Gonsalves
On Thu, 2011-06-02 at 16:46 +0530, Anand Agarwal wrote: > problem with inserting new column is everytime you add support for new > language, you need to insert one more column, which is messy. there is no other way afaik -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugc

Internationalization in Django.

2011-06-02 Thread Anand Agarwal
Hi All we are trying to translate our website in french. Django has a good framework for internationalization. Only problem is django model translation. Is there a good way to handle django model translation, without inserting new columns in data table? problem with inserting new column is everyt

Re: Internationalization in django and search engine indexing

2009-07-01 Thread Miguel Rodriguez
cool. Glad to hear it solved your problem. On Jun 30, 12:07 pm, Olivier wrote: > I've integrated it and it seems to work fine. > If people are interested in an example of localeurl, you can > checkwww.spiderchallenge.com(just switch language at the bottom of the > sidebar) > We will see if goog

Re: Internationalization in django and search engine indexing

2009-06-30 Thread Olivier
I've integrated it and it seems to work fine. If people are interested in an example of localeurl, you can check www.spiderchallenge.com (just switch language at the bottom of the sidebar) We will see if google like it, it mights take some time but my sitemap.xml is ready ;) Thanks for the help,

Re: Internationalization in django and search engine indexing

2009-06-24 Thread Olivier
Thanks Miguel, It seems that it does what I want, I will try it ! I'm using django on Google App Engine (with app engine patch) which use differents data models, do you think it will still work ? Cheers, Olivier On 24 juin, 12:30, Kenneth Gonsalves wrote: > On Wednesday 24 June 2009 13:56:49 M

Re: Internationalization in django and search engine indexing

2009-06-24 Thread Kenneth Gonsalves
On Wednesday 24 June 2009 13:56:49 Miguel Rodriguez wrote: > You can check an example of how your urls will look once is > implemented in here: http:\\jaratech.com the '\\' did not get converted to '//' ;-) -- regards kg http://lawgon.livejournal.com --~--~-~--~~~---

Re: Internationalization in django and search engine indexing

2009-06-24 Thread Miguel Rodriguez
You should have a look at: http://code.google.com/p/django-localeurl/ I'm using it on my site and works really well and it's really easy to set up. You can check an example of how your urls will look once is implemented in here: http:\\jaratech.com Cheers, Miguel On Jun 23, 2:42 pm, Olivier

Re: Internationalization in django and search engine indexing

2009-06-23 Thread Olivier
Thanks yml. The middleware part interests me a lot but I don't understand how the code work in your post. Do you use Django's LocaleMiddleware ? Where do you add the language_code in the url ? Finally, does it work with search engine indexing ? Because you still need to change language with a link

Re: Internationalization in django and search engine indexing

2009-06-22 Thread yml
This is the motivation for me to write this piece of middleware : http://yml-blog.blogspot.com/search/label/Internationalisation --yml On Jun 22, 5:52 pm, Olivier wrote: > Hello everyone, > > I'm currently using django localization on my site to manage both > english and french. I'm using templa

Internationalization in django and search engine indexing

2009-06-22 Thread Olivier
Hello everyone, I'm currently using django localization on my site to manage both english and french. I'm using template tags blocktrans and block but both the french & english pages have the same url. I'm wondering if the search engines can work with this configuration and index the two versions