On Friday 28 December 2007 17:56:45 Andrew Rodland wrote:
> On Monday 24 December 2007 07:58:34 am Knut-Olav Hoven wrote:
> > I wasn't very clear on this, sorry.
> > "Check my å" is not inside the code, it comes from my "po/mo"-files
> > (i18n).
> >
> > It looks actually more like this:
> >
> > $c->redirect(
> > $c->uri_for(
> > '/login',
> > {error_msg => $c->loc("Check my magic")}
> > );
> > );
> >
> > po-file (utf8 encoded):
> > msgid "Check my magic"
> > msgstr "Check my å"
>
> pofiles have a Content-Type header/declaration/whatever. Does your .po file
> declare itself as
>
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> ?Here is my po header (used poEdit): msgid "" msgstr "" "Project-Id-Version: Followme\n" "POT-Creation-Date: \n" "PO-Revision-Date: 2007-12-21 19:23+0100\n" "Last-Translator: Knut-Olav Hoven <[EMAIL PROTECTED]>\n" "Language-Team: Linpro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Norwegian Bokmal\n" "X-Poedit-Country: NORWAY\n" "X-Poedit-SourceCharset: utf-8\n" > > > Andrew > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ -- Knut-Olav Hoven Systemutvikler mob: +47 986 71 700 Linpro AS http://www.linpro.no/
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
