Hi HC
2009/8/16 hcvst <[email protected]>:
>
> Just tested locally on an older version - happens too and
> independently of browser settings.
> No idea why I could not reproduce it earlier for 'it' and 'fr'.
>
> web2py Shell Version 1.65.7 (2009-07-28 18:50:03)
> In[0]: T('Hello World').xml()
> Out[0]: 'Hello World'
> In[1]: T.force('it')
> Out[1]: ['it']
> In[2]: T('Hello World').xml()
> Out[2]: 'Salve Mondo'
> In[3]: T.force('en')
> Out[3]: ['en']
> In[4]: T('Hello World').xml()
> Out[4]: 'Hello World'
> In[5]: T.force('it')
> Out[5]: ['it']
> In[6]: T('Hello World').xml()
> Out[6]: 'Hello World'
>
> An below's what's left in it.py
>
> {
> 'Hello World': 'Hello World',
> }
>
>
> HC
I haven't been able to look at the original problem you posted on,
but, when I ran the shell on the web2py welcome app (Version
1.65.11, 2009-08-14 07:28:45), T.force() seemed to work OK as below on
my local machine.
>>> T("Hello World").xml()
'Hello World'
>>> T.force("it")
['it']
>>> T("Hello World").xml()
'Salve Mondo'
>>> T.force("en")
['en']
>>> T("Hello World").xml()
'Hello World'
>>> T.force("it")
['it']
>>> T("Hello World").xml()
'Salve Mondo'
>>> T.force("en")
['en']
>>> T("Hello World").xml()
'Hello World'
>>>
--
Teru
On 8月16日, 午前3:52, hcvst <[email protected]> wrote:
> Just tested locally on an older version - happens too and
> independently of browser settings.
> No idea why I could not reproduce it earlier for 'it' and 'fr'.
>
> web2py Shell Version 1.65.7 (2009-07-28 18:50:03)
> In[0]: T('Hello World').xml()
> Out[0]: 'Hello World'
> In[1]: T.force('it')
> Out[1]: ['it']
> In[2]: T('Hello World').xml()
> Out[2]: 'Salve Mondo'
> In[3]: T.force('en')
> Out[3]: ['en']
> In[4]: T('Hello World').xml()
> Out[4]: 'Hello World'
> In[5]: T.force('it')
> Out[5]: ['it']
> In[6]: T('Hello World').xml()
> Out[6]: 'Hello World'
>
> An below's what's left in it.py
>
> {
> 'Hello World': 'Hello World',
>
> }
>
> HC
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---