[ckan-dev] Serbian localization of CKAN

mirko.spasic at pupin.rs mirko.spasic at pupin.rs
Tue Nov 22 07:37:44 UTC 2011


David,

Your help was more than welcome. Thank you very much.

Mirko Spasic

> On 21 November 2011 14:13,  <mirko.spasic at pupin.rs> wrote:
>> Dear all,
>>
>> Allow me to introduce myself, and my future work. I'm Mirko Spasic from
>> Institute Mihajlo Pupin, Belgrade, Serbia. My group and I intend to use
>> the CKAN instance as catalogue for Serbian open datasets.
>>
>> I'm pleased to announce the Serbian localization of CKAN. You can find
>> it
>> on transifex. But, I have one problem with deploying the localization on
>> my machine, and I will be very happy, if you can help me.
>
> Welcome Mirko! I was very pleased to see the Serbian translations go
> in last week - great stuff!
>
> The first translation (cyrillic) is now available on thedatahub.org.
>
> I saw the problem with the Latin dataset on Thursday and put in a fix
> into master, probably aimed at the next release after this week's
> 1.5.1, although you could simply use the fix manually.
>
>> Actually, Serbian language uses two different scripts: cyrillic and
>> latin.
>> I translated all the messages form CKAN to Serbian, using both scripts.
>> Now, it seems like two separate languages: sr and sr at latin
>> https://www.transifex.net/projects/p/ckan/resource/1-5/
>> I'm not able to deploy both languages at the same time. With sr, I
>> managed, but with sr at latin, I did not. I cannot specify sr at latin in the
>> .ini configuration file of CKAN (in ckan.locale_order). Any suggestions?
>
> The problem is that Transifex calls this "sr at latin" yet Babel (and
> therefore CKAN) needs to call it "sr_Latn". The solution is to a
> setting in the Transifex config file and then do the "tx pull". See my
> fixes here:
> https://github.com/okfn/ckan/commit/e5636f729cfe36c184d7a856e33d087609a16732#diff-0
> https://github.com/okfn/ckan/commit/8e92689d8fa9160937b5c51cc61d7c372f29ad02
>
> David
>
>> Thanks in advance,
>> Mirko Spasic
>>
>>
>> _______________________________________________
>> ckan-dev mailing list
>> ckan-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>






More information about the ckan-dev mailing list