Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
SVN
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
paler  
View profile   Translate to Translated (View Original)
 More options Jan 11 2007, 6:17 am
From: "paler" <paler.cryptkee...@gmail.com>
Date: Thu, 11 Jan 2007 03:17:51 -0800
Local: Thurs, Jan 11 2007 6:17 am
Subject: SVN
La revisión que está en el SVN es la última? es decir, es la misma
que está en funcionamiento en beta.notiuy.com? Ayer hice un update,
actualizó algunas cosas (revisión 41) pero sigo teniendo
absolutamente todo en inglés; estoy usando firefox 2.0 en español...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Pablo Hoffman  
View profile   Translate to Translated (View Original)
 More options Jan 12 2007, 7:04 pm
From: Pablo Hoffman <pablohoff...@gmail.com>
Date: Fri, 12 Jan 2007 21:04:43 -0300
Local: Fri, Jan 12 2007 7:04 pm
Subject: Re: [notiuy] SVN
Paler, la razón por la cual no te funciona en español es que seguramente te
faltó compilar los archivos que contienen las etiquetas de traducción. Eso lo
haces corriendo (desde el directorio /opt/notiuy/apps/noti):

/opt/django/django/bin/compile-messages.py

Eso suponiendo que tenés instalado el notiuy en /opt/notiuy y los fuentes de
django en /opt/django.

Lo que hace es compilar el archivo
notiuy/apps/noti/locale/es/LC_MESSAGES/django.po a un archivo binario que es el
que usa el sistema de traducción dinámica (llamado gettext).

Después, en el archivo de configuración (settings.py) tenes algúnos parámetros
de configuración que modifican el comportamiento del idioma:

la variable LANGUAGE_CODE del archivo settings.py es el lenguaje por defecto
(cuando no detecta ninguno del browser). Podés cambiarlo si querés a:

LANGUAGE_CODE = 'es_ES'

Para que el lenguaje por defecto sea el español.

Después tenés dos clases dentro del array MIDDLEWARE_CLASSES (también en el
archivo settings.py) que sirven para localizar el notiuy:

django.middleware.locale.LocaleMiddleware
Esta clase sirve para localizar dinámicamente al noti, es decir ponerlo en el
idioma del navegador que estás usando.

notiuy.apps.noti.middleware.NotiMiddleware
Esta sirve para que los días, meses, etc se vean en el mismo idioma que el
localizado.

Ah, por último, te confirmo que el código del SVN es el mismo que está
corriendo en beta.notiuy.com.

Saludos.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google