Re: state of the askbot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Jan 2014 09:18:30 -0700
Kevin Fenzi <kevin@xxxxxxxxx> wrote:

> ok, many more mutllang issues. ;( 

And solved. ;) 
 
> * If 'zh-tw': 'Traditional Chinese' is enabled it causes no questions
>   to be submittable. ;( 
> 
> * If I remove that the new question form comes back up and I can
>   submit, but then they never show up correctly: 
> 
> https://ask.stg.fedoraproject.org/en/question/194/testing-this-askbot-thing/
> 
> It just redirects to itself in a loop over and over. ;( 
> 
> * When multilang is enabled and you ask a question, there's a "select
>   language" thing at the bottom, and it has just single letters in
> it. 
> 
> Can you confirm those on your openshift instance? Or is it something
> with our local setup?
> 
> Given these, I might punt on enabling in production, unless we can
> figure them out really really quickly. :) 

We had: 

LANGUAGES = {
     'zh-tw': 'Traditional Chinese',
     'en': 'English',
     'fr': 'French',
     'el': 'Greek',
     'ru': 'Russian',
     'es': 'Spanish'
}

But it turns out it's not just a dict... ;( 

This seems to be correct: 

gettext = lambda s: s
LANGUAGES = (
    ('es', gettext('Spanish')),
    ('en', gettext('English')),
    ('ru', gettext('Russian')),
    ('zh-tw', gettext('Chinese')),
    ('fr', gettext('French')),
    ('el', gettext('Greek')),
)

Now all the above 3 items seem solved. 

Please test more. ;) 

kevin

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux