mxabierto / ckanext-dgm

CKAN custom theme for datos.gob.mx
http://catalogo.datos.gob.mx
1 stars 5 forks source link

Algunas traducciones no cargan #17

Closed defvol closed 10 years ago

defvol commented 10 years ago

Algunas traducciones definidas en: https://github.com/ckan/ckan/blob/31d326a7f11cb0dc26f256e9dc641c04b3e8c113/ckan/i18n/es/LC_MESSAGES/ckan.po#L4356

NO están cargando

https://github.com/ckan/ckan/blob/fc1edfd27fa2d5d598a225d4ef234a3664bfeeec/ckan/templates/user/login.html#L42

screen shot 2014-07-14 at 11 33 05 pm

screen shot 2014-07-14 at 11 33 23 pm

https://github.com/ckan/ckan/blob/625b51cdb0f1697add59c7e3faf723a48c8e04fd/ckan/templates/organization/snippets/helper.html

poguez commented 10 years ago

Al parecer eso va por aqui: http://docs.ckan.org/en/1117-start-new-test-suite/i18n.html

On Mon, Jul 14, 2014 at 10:33 PM, Rod Wilhelmy notifications@github.com wrote:

Algunas traducciones definidas en:

https://github.com/ckan/ckan/blob/31d326a7f11cb0dc26f256e9dc641c04b3e8c113/ckan/i18n/es/LC_MESSAGES/ckan.po#L4356

NO están cargando

https://github.com/ckan/ckan/blob/fc1edfd27fa2d5d598a225d4ef234a3664bfeeec/ckan/templates/user/login.html#L42

[image: screen shot 2014-07-14 at 11 33 05 pm] https://cloud.githubusercontent.com/assets/705860/3580230/c0a3b79a-0bd0-11e4-8d58-b4f5e21f4af6.png

[image: screen shot 2014-07-14 at 11 33 23 pm] https://cloud.githubusercontent.com/assets/705860/3580231/cba01eea-0bd0-11e4-9fa3-a398595c92de.png

https://github.com/ckan/ckan/blob/625b51cdb0f1697add59c7e3faf723a48c8e04fd/ckan/templates/organization/snippets/helper.html

— Reply to this email directly or view it on GitHub https://github.com/mxabierto/ckanext-dgm/issues/17.

Noé Domínguez Porras Cel.: +521 (222) 765-3552

urkonn commented 10 years ago

Hay que regenerar ckan.mo https://github.com/mxabierto/ckanext-dgm#updating-locales

selection_019

defvol commented 10 years ago

ya ví. En staging si lo había vuelto a correr pero en producción no.

Gracias equipo.

defvol commented 10 years ago

No jaló el script.

Y al parecer el script que mencionas @urkonn es para las traducciones del template.

Creo que el hecho de que no se vea la traducción de Organizations tiene que ver con otro asunto.

poguez commented 10 years ago

Hay una diferencia de versiones de CKAN entre staging y producción

PRODUCCIÓN (antigua) commit a22c5ee942d2f7fda51b635cbba1d8c5fc197c70 Author: Nigel Babu nigelbabu@gmail.com Date: Tue Dec 17 11:31:45 2013 +0530

[#1384] Fix test broken due to sorted change

* Fix the test broken because it expects results from sorted.
* Correct the PEP8 change in related controller.

STAGING (más nueva) [admin@app-datos-gob-mx ckan]$ git log commit 5df8e6492bdd32862b159d6bc9ff99892973dde6 Author: amercader amercadero@gmail.com Date: Tue Feb 4 11:43:43 2014 +0000

Update version number for 2.2

Esos errores de traducción al parecer se corrigieron en versiones posteriores porque como se ve en el screenshot (adjunto) hay unas traducciones vacías.

¿Quieren que actualicemos producción? Solo que tengo que retomar el procedimiento que hice de actualización la vez pasada y revisarlo. ¿Qué tal andan de tráfico el domingo en la noche para la actualización?

[image: Inline image 1]

2014-07-15 23:40 GMT-05:00 Rod Wilhelmy notifications@github.com:

No jaló el script.

Y al parecer el script que mencionas @urkonn https://github.com/urkonn es para las traducciones del template.

Creo que el hecho de que no se vea la traducción de Organizations tiene que ver con otro asunto.

— Reply to this email directly or view it on GitHub https://github.com/mxabierto/ckanext-dgm/issues/17#issuecomment-49123000 .

Noé Domínguez Porras Cel.: +521 (222) 765-3552

poguez commented 10 years ago

Ver https://github.com/ckan/ckan/blob/a22c5ee942d2f7fda51b635cbba1d8c5fc197c70/ckan/i18n/es/LC_MESSAGES/ckan.po#L3319-3325

defvol commented 10 years ago

Gracias @poguez

El domingo está bien.

poguez commented 10 years ago

Se actualizó a la versión 2.2.1 https://github.com/ckan/ckan/tree/release-v2.2.1