[Xerte-dev] Re: Language fall back

Tom Reijnders reijnders at tor.nl
Tue Mar 13 13:01:06 GMT 2012


My suggestion would be: NO
If the functionality is developed in Spanish and English is also  
supplied (but no other languages): YES (because other languages will  
fallback to English.)



Citeren Pat Lockley <patrick.lockley at googlemail.com>:

> You might be developing new functionality.
> You write it in Spanish.
> The default build is in English.
> Do we not include the Spanish functions?
>
> On Tue, Mar 13, 2012 at 10:25 AM, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk> wrote:
>> Wouldn't this only happen if the distributed build had the missing bits in?
>>
>> If people add half language support to their own installations,  
>> that's up to them, n'est pas?
>>
>> -----Original Message-----
>> From: xerte-dev-bounces at lists.nottingham.ac.uk  
>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat  
>> Lockley
>> Sent: 12 March 2012 22:33
>> To: For Xerte technical developers
>> Subject: [Xerte-dev] Re: Language fall back
>>
>> I would shy away from 2
>>
>> It leaves open what to do If a php file exists but a Inc file  
>> doesn't for this language but does for another language. Fail? Load?
>>
>> On 12 Mar 2012, at 22:13, David Goodwin <david at palepurple.co.uk> wrote:
>>
>>> The standard approach is :
>>>
>>> 1. Check for existence of $_COOKIE value e.g. for 'lang', if  
>>> present, use that.
>>> 2. Check to see what languages the browser requests (see e.g.  
>>> Zend_Locale (I think)) and if we have a matching one use that.
>>> 3. Allow the user to choose via some sort of drop down.
>>>
>>>
>>> I was planning on implementing 1 and 2 sometime soon.
>>>
>>> David.
>>>
>>> On 12 Mar 2012, at 19:57, Pat Lockley wrote:
>>>
>>>> issue
>>>>
>>>> In the future some one may wish to develop some new functionality in XOT
>>>>
>>>> This may be written in Dutch or Spanish
>>>>
>>>> It may be plausible to have a site supporting multiple languages
>>>>
>>>> The translation for Dutch may be there for Spanish, but might not be
>>>> there for English.
>>>>
>>>> How do we support a "fallback language"?
>>>>
>>>> _______________________________________________
>>>> Xerte-dev mailing list
>>>> Xerte-dev at lists.nottingham.ac.uk
>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>>>
>>>> This message and any attachment are intended solely for the  
>>>> addressee and may contain confidential information. If you have  
>>>> received this message in error, please send it back to me, and  
>>>> immediately delete it.   Please do not use, copy or disclose the  
>>>> information contained in this message or in any attachment.  Any  
>>>> views or opinions expressed by the author of this email do not  
>>>> necessarily reflect the views of the University of Nottingham.
>>>>
>>>> This message has been checked for viruses but the contents of an  
>>>> attachment
>>>> may still contain software viruses which could damage your  
>>>> computer system:
>>>> you are advised to perform your own checks. Email communications with the
>>>> University of Nottingham may be monitored as permitted by UK legislation.
>>>>
>>>
>>> Pale Purple Ltd.  (Company No: 5580814)
>>> 'Business Web Application Development and Training in PHP'
>>>
>>> http://www.palepurple.co.uk
>>> Office: 0845 0046746     Mobile: 07792380669
>>>
>>> Follow us on Twitter: @PalePurpleLtd
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xerte-dev mailing list
>>> Xerte-dev at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>>
>> _______________________________________________
>> Xerte-dev mailing list
>> Xerte-dev at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> This message and any attachment are intended solely for the  
> addressee and may contain confidential information. If you have  
> received this message in error, please send it back to me, and  
> immediately delete it.   Please do not use, copy or disclose the  
> information contained in this message or in any attachment.  Any  
> views or opinions expressed by the author of this email do not  
> necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
>
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the Xerte-dev mailing list