Re: [translate-pootle] UnresolvedPref instance has no attribute 'startswith' - and UI language

2008-10-31 Thread Olaf
Dwayne Bailey wrote:
> On Fri, 2008-10-31 at 07:36 +0200, F Wolff wrote:
>>> rights:
>>>default = u'view, suggest, archive, pocompile'
>>>nobody = u'view'
> Why is there a 3 space indent in that entry?  Is that not the source of
> the problem since the main pootle.prefs is two space indented if I
> recall?
> 
I don't know how this happened, but when I sent out that original mail 
there was only a two-space indent, as is in the prefs files.

Regards,

Olaf

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] UnresolvedPref instance has no attribute 'startswith' - and UI language

2008-10-31 Thread Olaf
F Wolff wrote:
> On Vr, 2008-10-31 at 09:25 +0800, Olaf wrote:
> I'm not sure why you suppose this. As Wynand asked before. If you are
> able to upload your pootle.prefs file (probably easiest in Bugzilla) we
> can try to duplicate the problem to see what is causing it. I would
Sorry, I had sent it to Wynand directly, because he offered to have a 
look. I didn't want to paste it here on the list. But I have now posted 
it on Bugzilla.

> The interface translations are part of the "pootle" translation project
> that is shipped with Pootle. My guess is that you didn't put that into
> your "po" directory when you changed the default location of these
> files.
> 
The Pootle project and all its language files are still at the original 
location in the po folder. I can set the default language to either 
English or Chinese through pootle.prefs, but I cannot change it through 
the web in my account preferences.

Regards,

Olaf


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] UnresolvedPref instance has no attribute 'startswith' - and UI language

2008-10-31 Thread Dwayne Bailey
On Fri, 2008-10-31 at 07:36 +0200, F Wolff wrote:



> > This is just a hunch, but could this error be related to the 
> > pootle-project-lang.prefs file within each language folder in a project?
> > 
> > Mine look like this:
> > 
> > # Pootle preferences for project pnforum, language zh_TW
> > 
> > rights:
> >default = u'view, suggest, archive, pocompile'
> >nobody = u'view'
> > 
> > 
> > 
> > The same file in the Pootle project is basically empty, only has the 
> > first, commented line.
> 
> This lists the rights for the project. With the Pootle one being empty
> it just means that it is using the default rights defined on the server.

Why is there a 3 space indent in that entry?  Is that not the source of
the problem since the main pootle.prefs is two space indented if I
recall?



-- 
Dwayne Bailey
Associate  +27 12 460 1095 (w)
Translate.org.za   +27 83 443 7114 (c)

Recent blog posts:
* Virtaal on Fedora: not just yet, but soon'ish
http://www.translate.org.za/blogs/dwayne/en/content/virtaal-fedora-not-just-yet-soonish
* Fennec in Afrikaans
* Virtaal on the Mac



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] UnresolvedPref instance has no attribute 'startswith' - and UI language

2008-10-30 Thread F Wolff
On Vr, 2008-10-31 at 09:25 +0800, Olaf wrote:
> I had mentioned this problem here before and Wynand tried to help, but I 
> suppose it was not the pootle.prefs file (Pootle 1.2) causing trouble. 

I'm not sure why you suppose this. As Wynand asked before. If you are
able to upload your pootle.prefs file (probably easiest in Bugzilla) we
can try to duplicate the problem to see what is causing it. I would
still guess that it is the pootle.prefs file, although the possibility
you mention below is also a possibility.

> This is just a hunch, but could this error be related to the 
> pootle-project-lang.prefs file within each language folder in a project?
> 
> Mine look like this:
> 
> # Pootle preferences for project pnforum, language zh_TW
> 
> rights:
>default = u'view, suggest, archive, pocompile'
>nobody = u'view'
> 
> 
> 
> The same file in the Pootle project is basically empty, only has the 
> first, commented line.

This lists the rights for the project. With the Pootle one being empty
it just means that it is using the default rights defined on the server.

> 
> And there is one more strange thing: I can not switch the interface 
> language from the web. I have English and Chinese (Taiwan) enabled. I 
> can select the other language in my account settings, but all that 
> changes is that the characters will become smaller if I try to switch to 
> English, or they become larger if I try to switch to Chinese. The 
> language displayed however does not change and depends on what I have 
> set as default...
> 
> Regards,
> 
> Olaf

The interface translations are part of the "pootle" translation project
that is shipped with Pootle. My guess is that you didn't put that into
your "po" directory when you changed the default location of these
files.

Keep well
Friedel

--
Recently on my blog:
http://translate.org.za/blogs/friedel/en/content/its-easyer-with-kulula


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle