Re: Anyone built a django site in Welsh?

2007-08-29 Thread Ross Poulton

Sorry for the off-topic reply... but did the mention of Welsh make
anybody else think of Snakes & Rubies[1]? Cool presentation for those
who haven't yet seen it.

"Already we have 19 translations of the Django admin, and it's really
a trip for the hell of it to go in there, and change your browser
language to French or Icelandic, and see the admin work in a different
language. It's really really cool. And the cool thing about it is that
we have Welsh!"

[1] http://www.djangoproject.com/snakesandrubies/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Matt Davies
got it

cocoa was showing everything in the mysql as utf8, but the tables themselves
were latin1

:-)

wicked, I now have the great job of turning it all back, setting it to not
create as Latin1 in the future, check all the data

thanks for your help everyone, not a django problem, an mysql one



On 29/08/2007, Matt Davies <[EMAIL PROTECTED]> wrote:
>
> Hi Jarek
>
> Yep, got that line in my.cnf, my cocoa Show Variables are all utf8.
>
> curl tells me it's utf8, request.meta tells me it's utf8, bit it really
> doesn't look like it is utf8
>
> any more suggestions anyone?
>
> On 29/08/2007, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> >
> >
> > Matt Davies napisał(a):
> >
> > > yeah mate, everything I can think of is set to utf-8 and unicode as
> > > explained here
> > >
> > > How did you get that character into the database?
> > >
> > > Did you add it to a web form and put it in like that?
> > >
> > > If so, did you type the character, or did you copy and paste it from
> > > somewhere else?
> > >
> > > Sorry to be a pain mate, but it'll really help me out if I can work
> > out
> > > whats going on here.
> > >
> > > Interestingly enough only those two characters mess up, the others
> > with
> > > circumflexes are fine.
> >
> > Are you sure your MySQL client sets proper charset on connection? From
> > the docs at
> >
> > http://www.djangoproject.com/documentation/databases/#connecting-to-the-database
> > - check if the last line of example MySQL config file is in place. From
> > your description it looks that the client encoding is set to latin1.
> >
> > --
> > Jarek Zgoda
> > Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101
> >
> > "We read Knuth so you don't have to." (Tim Peters)
> >
> > > >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Jarek Zgoda

Matt Davies napisał(a):

> yeah mate, everything I can think of is set to utf-8 and unicode as
> explained here
> 
> How did you get that character into the database?
> 
> Did you add it to a web form and put it in like that?
> 
> If so, did you type the character, or did you copy and paste it from
> somewhere else?
> 
> Sorry to be a pain mate, but it'll really help me out if I can work out
> whats going on here.
> 
> Interestingly enough only those two characters mess up, the others with
> circumflexes are fine.

Are you sure your MySQL client sets proper charset on connection? From
the docs at
http://www.djangoproject.com/documentation/databases/#connecting-to-the-database
- check if the last line of example MySQL config file is in place. From
your description it looks that the client encoding is set to latin1.

-- 
Jarek Zgoda
Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101

"We read Knuth so you don't have to." (Tim Peters)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Jason Davies

Hi Matt,

On Aug 29, 12:02 pm, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> How did you get that character into the database?
>
> Did you add it to a web form and put it in like that?
>
> If so, did you type the character, or did you copy and paste it from
> somewhere else?

I copied and pasted it into a web form from
http://www.200words-a-day.com/typing-welsh-characters.html

"ŵ and ŷ"

By the way, I'm using the latest SVN version of Django, which has
proper unicode support internally.

Jason


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Matt Davies
Hi Jason

yeah mate, everything I can think of is set to utf-8 and unicode as
explained here

How did you get that character into the database?

Did you add it to a web form and put it in like that?

If so, did you type the character, or did you copy and paste it from
somewhere else?

Sorry to be a pain mate, but it'll really help me out if I can work out
whats going on here.

Interestingly enough only those two characters mess up, the others with
circumflexes are fine.



On 29/08/2007, Jason Davies <[EMAIL PROTECTED]> wrote:
>
>
> Hi Matt,
>
> On Aug 29, 11:19 am, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> > Jason, do me a favour, can you try putting the welsh w character with a
> > circumflex into one of your django sites, see if it get's transated ok
> for
> > me?
>
> Seems to work fine for me.  Are you sure the MySQL database is using
> UTF-8 too?
>
> Jason
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Jason Davies

Hi Matt,

On Aug 29, 11:19 am, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> Jason, do me a favour, can you try putting the welsh w character with a
> circumflex into one of your django sites, see if it get's transated ok for
> me?

Seems to work fine for me.  Are you sure the MySQL database is using
UTF-8 too?

Jason


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Jason Davies

On Aug 29, 11:07 am, Jason Davies <[EMAIL PROTECTED]> wrote:
> http://www.cyswllt.org/cy/

There's also a Welsh translation of my fbfriends Facebook application:
http://www.jasondavies.com/fbfriends/

Jason


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Thomas Badran

Afraid not, i havent started toying with this yes. I was going on the
assumption that unicode would work fine without problems (i thought
everythign was unicode internally), looks like i might need to push
forward some testing.

Tom

On Wed, 2007-08-29 at 11:04 +0100, Matt Davies wrote:
> Thomas, I'm having one hell of a problem getting certain characters to
> work in Unicode django
> 
> Basically the wW and yY with circumflexes above them.
> 
> You don't know if they're in some wierd character set that I need to
> grab somehow? 
> 
> 
> 
> On 29/08/2007, Thomas Badran <[EMAIL PROTECTED]> wrote:
> 
> I haven't yet, but I'm currently working on a clients site
> that's likely
> to be translated at some point. Not the admin site though,
> just the main
> content.
> 
> Tom
> 
> On Wed, 2007-08-29 at 07:28 +, vanderkerkoff wrote: 
> > Hello everyone
> >
> > I was wondering if anyone in this group had built a django
> powered
> > site in the welsh language, that is, with Welsh Language
> content and
> > using Django's built in Welsh Admin backend? 
> >
> > I'd be really interested in starting up a conversation.
> >
> >
> > >
> 
> 
> 
> 
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Jason Davies

Hello,

One of my first Django-powered sites was in fact bilingual (Welsh and
English) :-)

http://www.cyswllt.org/cy/

To activate the Welsh translation of the admin interface, simply set
LANGUAGE_CODE [1] to 'cy' in your settings.

Jason

[1] http://www.djangoproject.com/documentation/settings/#language-code


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Matt Davies
Thomas, I'm having one hell of a problem getting certain characters to work
in Unicode django

Basically the wW and yY with circumflexes above them.

You don't know if they're in some wierd character set that I need to grab
somehow?



On 29/08/2007, Thomas Badran <[EMAIL PROTECTED]> wrote:
>
>
> I haven't yet, but I'm currently working on a clients site that's likely
> to be translated at some point. Not the admin site though, just the main
> content.
>
> Tom
>
> On Wed, 2007-08-29 at 07:28 +, vanderkerkoff wrote:
> > Hello everyone
> >
> > I was wondering if anyone in this group had built a django powered
> > site in the welsh language, that is, with Welsh Language content and
> > using Django's built in Welsh Admin backend?
> >
> > I'd be really interested in starting up a conversation.
> >
> >
> > >
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Thomas Badran

I haven't yet, but I'm currently working on a clients site that's likely
to be translated at some point. Not the admin site though, just the main
content.

Tom

On Wed, 2007-08-29 at 07:28 +, vanderkerkoff wrote:
> Hello everyone
> 
> I was wondering if anyone in this group had built a django powered
> site in the welsh language, that is, with Welsh Language content and
> using Django's built in Welsh Admin backend?
> 
> I'd be really interested in starting up a conversation.
> 
> 
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread vanderkerkoff

if you set lang_code to cy in settings.py the labels in the admin ar
ein welsh, home is adref etc etc



On Aug 29, 8:36 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 29-Aug-07, at 12:58 PM, vanderkerkoff wrote:
>
> > I was wondering if anyone in this group had built a django powered
> > site in the welsh language, that is, with Welsh Language content and
> > using Django's built in Welsh Admin backend?
>
> is there a separate admin backend for welsh? I was under the
> impression that the admin backend was the same for all languages. I
> have done a site with english/finnish - set browser to english and
> everything appears in english. Set browser to finnish and everything
> appears in finnish (both strings and content)
>
> --
>
> regards
> kghttp://lawgon.livejournal.comhttp://nrcfosshelpline.in/web/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Anyone built a django site in Welsh?

2007-08-29 Thread Kenneth Gonsalves


On 29-Aug-07, at 12:58 PM, vanderkerkoff wrote:

> I was wondering if anyone in this group had built a django powered
> site in the welsh language, that is, with Welsh Language content and
> using Django's built in Welsh Admin backend?

is there a separate admin backend for welsh? I was under the  
impression that the admin backend was the same for all languages. I  
have done a site with english/finnish - set browser to english and  
everything appears in english. Set browser to finnish and everything  
appears in finnish (both strings and content)

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Anyone built a django site in Welsh?

2007-08-29 Thread vanderkerkoff

Hello everyone

I was wondering if anyone in this group had built a django powered
site in the welsh language, that is, with Welsh Language content and
using Django's built in Welsh Admin backend?

I'd be really interested in starting up a conversation.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---