[ckan-dev] Datasets Pagination in spanish
Vitor Baptista
vitor at vitorbaptista.com
Mon Apr 8 19:44:12 UTC 2013
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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130408/ea493ccc/attachment-0001.html>
More information about the ckan-dev
mailing list