[WG: I18N & L10N] [Building Sakai] Incongruence in the way tools select the language.

Aaron Zeckoski azeckoski at unicon.net
Mon Jun 17 06:09:34 PDT 2013


> It's typical for normal apps, but it should be done through the ResourceLoader since it has some rules in there about what setting takes precedence, and for consistency.

I agree, and it is maybe a larger conversation but perhaps now is a
reasonable time to think about that (or encourage the i18n folks to
think about it).

-AZ



On Mon, Jun 17, 2013 at 9:06 AM, Steve Swinsburg
<steve.swinsburg at gmail.com> wrote:
> It's typical for normal apps, but it should be done through the ResourceLoader since it has some rules in there about what setting takes precedence, and for consistency.
>
> It should be a simple fix, wicket has an application method to set the locale so it can pull the right bundle, and that just delegates to the Sakai resource loader. Does RSF have something similar or can it be made to work that way rather than going via Spring?
>
> Cheers
> Steve
>
> Sent from my iPhone
>
> On 17/06/2013, at 21:48, Aaron Zeckoski <azeckoski at unicon.net> wrote:
>
>> RSF delegates to the spring locales and i18n code which probably means
>> that this is actually something in spring that is doing this. We'll
>> probably need to search in the spring stuff to find a way to handle
>> this.
>>
>> That said, isn't is pretty typical to use the browser settings when
>> the system doesn't have a local override set (i.e. if the user has not
>> set the value)?
>>
>> One more note, have you checked this on trunk?
>> -AZ
>>
>>
>> On Mon, Jun 17, 2013 at 7:04 AM, Steve Swinsburg
>> <steve.swinsburg at gmail.com> wrote:
>>> FYI those three tools are RSF based so there is probably something within
>>> RSF that pulls the language in an inconsistent way.
>>>
>>> cheers,
>>> Steve
>>>
>>>
>>> On Mon, Jun 17, 2013 at 9:00 PM, Diego del Blanco Orobitg
>>> <diego.delblanco.sakai at gmail.com> wrote:
>>>>
>>>> In polls there is this colsed JIRA....
>>>> https://jira.sakaiproject.org/browse/POLL-107
>>>> as it's not specified that the problem only happens when not selected a
>>>> language preference by the users when testing all seems to go well if you
>>>> test in a server with the same language than your browser. Maybe can we
>>>> reopen it?
>>>>
>>>> In email is this one... maybe related...
>>>> https://jira.sakaiproject.org/browse/MSND-80  In this case, maybe is better
>>>> to open a new one, don't think so?
>>>>
>>>>
>>>>
>>>>
>>>> 2013/6/17 Diego del Blanco Orobitg <diego.delblanco.sakai at gmail.com>
>>>>>
>>>>> That's exactly the question. LESSONS is one of the tools.
>>>>>
>>>>> The others I've found in 2.9.x are:
>>>>> EMAIL
>>>>> POLLS
>>>>>
>>>>> Well then as lessons have the jira created, I'll search for the other two
>>>>> and if there is not jira I'll create it.
>>>>>
>>>>> Diego
>>>>>
>>>>>
>>>>>
>>>>> 2013/6/17 Alexandre Ballesté <alexandre.balleste at udl.cat>
>>>>>>
>>>>>> I think that the problem is in users that haven't explicitly saved their
>>>>>> language preferences.
>>>>>>
>>>>>> When you go to language preferences and save, then some tools like
>>>>>> Lessons work fine. I opened an issue for Lessons
>>>>>> (https://jira.sakaiproject.org/browse/LSNBLDR-239 ), but it seems that it is
>>>>>> an extended behaviour.
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Jean-Francois Leveque <jean-francois.leveque at upmc.fr> wrote:
>>>>>>>
>>>>>>> Please report this in JIRA and take time to list the JIRAs created
>>>>>>> here.
>>>>>>>
>>>>>>> J-F
>>>>>>>
>>>>>>> On 17/06/2013 08:37, Diego del Blanco Orobitg wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> I've been testing nightly trunk (this happens with 2.9 too) and some
>>>>>>>> of
>>>>>>>> the tools appear to me in spanish, when I've not selected spanish
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> language at all. 90% appears in english and other tools not. Surely
>>>>>>>> because some tools don't read the user preference and read the browser
>>>>>>>> settings.
>>>>>>>>
>>>>>>>> I think this is not a good way of doing things. Sakai has a preference
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> for user language and other for site language, they must be the way of
>>>>>>>> decide how sakai shows the tools to the user. Not browser settings.
>>>>>>>>
>>>>>>>> So... what can we do with this?
>>>>>>>>
>>>>>>>> Saludos!
>>>>>>>>
>>>>>>>> --Diego del Blanco Orobitg
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Tutordemia IT & Training Manager
>>>>>>>> Apereo LATAM Representative
>>>>>>>
>>>>>>> ________________________________
>>>>>>>
>>>>>>> sakai-dev mailing list
>>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>>
>>>>>>> TO UNSUBSCRIBE: send email to
>>>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>>>>>> "unsubscribe"
>>>>>>
>>>>>> --
>>>>>> Sent from my Galaxy Note II. Please excuse my brevity.
>>>>>> Twitter: @sinmsinm
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Diego del Blanco Orobitg
>>>>> Tutordemia IT & Training Manager
>>>>> Apereo LATAM Representative
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Diego del Blanco Orobitg
>>>> Tutordemia IT & Training Manager
>>>> Apereo LATAM Representative
>>>>
>>>> _______________________________________________
>>>> i18n mailing list
>>>> i18n at collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/i18n
>>>>
>>>> TO UNSUBSCRIBE: send email to i18n-unsubscribe at collab.sakaiproject.org
>>>> with a subject of "unsubscribe"
>>>
>>>
>>>
>>> _______________________________________________
>>> i18n mailing list
>>> i18n at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/i18n
>>>
>>> TO UNSUBSCRIBE: send email to i18n-unsubscribe at collab.sakaiproject.org with
>>> a subject of "unsubscribe"
>>
>>
>>
>> --
>> Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile
>> _______________________________________________
>> i18n mailing list
>> i18n at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/i18n
>>
>> TO UNSUBSCRIBE: send email to i18n-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"



-- 
Aaron Zeckoski - Software Architect - http://tinyurl.com/azprofile


More information about the i18n mailing list