[ckan-dev] Datasets Pagination in spanish

Isabel Ruiz isaruizmellado at gmail.com
Tue Apr 9 07:15:44 UTC 2013


Thanks Vitor!

I have changed helpers.py as you told me! and It works fine!!!!!

Thanks for your recommendation: We want to upgrade to ckan 1.8 or 2.0 as
soon as possible!




On Mon, Apr 8, 2013 at 9:44 PM, Vitor Baptista <vitor at vitorbaptista.com>wrote:

> Hi Isabel,
>
> In the newer CKAN, there's no "Next" anymore, but just » (see
> http://demo.ckan.org/dataset).
>
> You could change the code itself in
> https://github.com/okfn/ckan/blob/release-v1.5.1/ckan/lib/helpers.py#L257,
> just removing Next/Previous. This is how the code looks like in master,
> https://github.com/okfn/ckan/blob/master/ckan/lib/helpers.py#L738.
>
> Or, if possible, use a newer version of CKAN (2.0 or 1.8), as 1.5 is
> pretty old now.
>
> Cheers,
> Vítor Baptista.
>
> 2013/4/8 Isabel Ruiz <isaruizmellado at gmail.com>
>
>> Hi!
>> First of all: Please excuse my limited English.
>>
>> I am implementing ckan 1.5 in my company.
>>
>> I have added many datasets. If I see all the datasets, ckan uses
>> pagination, so in footer I can see "1 2 3 Next",
>>
>> what is my problem?
>>
>> My company is Spanish, and we need translate "next" word. That is: ckan
>> shows me "1 2 3 Next" and we need "1 2 3 Siguiente"
>>
>> I have set ckan.locate_default = es in ini file and I can see texts in
>> spanish but footer is still in english.
>>
>> Do I have to set other parameters? Do I have to change any pagination
>> ckan file?
>>
>> Thanks.
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Isabel M. Ruiz Mellado
http://about.me/isabelruiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130409/c7a020f9/attachment-0001.html>


More information about the ckan-dev mailing list