[lqfb-main] Translating frontend config file with Umlauts?
Nuno Cardoso
nonnu42 at gmail.com
Sun Jul 8 00:59:59 UTC 2012
Hi!
I had similar problems with Portuguese specific symbols so I edited the
sources of Rocketwiki and near the end changed from:
main = interact wikiParse
to:
main = do
hSetEncoding stdin utf8
hSetEncoding stdout utf8
interact wikiParse
Built it again and my problem was gone, maybe it will fix yours as well :)
Nuno
On Sun, Jul 8, 2012 at 12:17 AM, Janne P Hukkinen <janne at hukkinen.jp> wrote:
> Greetings List!
>
> If I use Umlauts in translation like this...
>
> config.use_terms = "=== Terms of Use ==="
>
> config.use_terms = "=== Käyttösäännöt ==="
>
> ..I get the (rocketwiki-lqfb?) error below. I got the impression the
> config file isn't included in the language files.
>
> BR,
>
> --
> Janne
>
> PS. An example Terms of Use would help to localize one.
>
> PPS. Is there a practical way to remove the /index/ from the URL? They can
> be quite long.
>
> ------------------------------- clip
> ---------------------------------------------
>
> If you write a bug report, please include the following output in your bug
> report.
> Falls Du einen Fehlerbericht erstellst, füge bitte die folgenden Ausgaben
> mit ein.
>
> */home/hukkinen/Liquid/liquid_feedback_frontend/env/format/w:7: Wiki
> parser process returned with error code 1*
>
> Stack trace follows:
> [C]: in function 'error'
> /home/hukkinen/Liquid/liquid_feedback_frontend/env/format/w:7: in function
> 'wiki_text'
> ...liquid_feedback_frontend/app/main/index/register.lua:155: in function
> <...liquid_feedback_frontend/app/main/index/register.lua:151>
> [C]: in function 'tag'
> ../env/ui/container.lua:88: in function 'container'
> ...liquid_feedback_frontend/app/main/index/register.lua:149: in function
> 'content'
> ../env/ui/form.lua:154: in function <../env/ui/form.lua:146>
> [C]: in function 'tag'
> ../env/ui/form.lua:143: in function 'form'
> ...liquid_feedback_frontend/app/main/index/register.lua:9: in function
> 'func'
> ...
> ../env/execute/wrapped.lua:21: in function <../env/execute/wrapped.lua:11>
> (tail call): ?
> (tail call): ?
> ../env/execute/filtered_view.lua:28: in function 'filtered_view'
> webmcp.lua:379: in function <webmcp.lua:256>
> [C]: in function 'xpcall'
> webmcp.lua:255: in main chunk
> [C]: in function 'pcall'
> ...me/hukkinen/Liquid/webmcp/cgi-bin/webmcp-wrapper.lua:7: in main chunk
> [C]: ?
>
> - Configuration "palautevirta.hukkinen.jp--frontend"
> - Configuration "init_hukkinen"
> - REQUESTED VIEW: index/register
> - /main/_filter/20_session.lua
> - SELECT "session".* FROM "session" WHERE (ident =
> '6gkgsBCLZz7wOVjXDxeCKznz3jQDQ6D0') LIMIT 1;
> - /main/_filter/21_auth.lua
> - No authentication needed.
> - /main/_filter_view/30_navigation.lua
> - EXECUTE VIEW: index/_menu
> - /main/_filter_view/32_searchbox.lua
> - /main/_filter_view/33_help_hidden.lua
> - /main/_filter_view/34_stylesheet.lua
> - /main/_filter_view/36_html_title.lua
> - EXECUTE VIEW: index/register
> - EXECUTE VIEW: index/_lang_chooser
> - SELECT "member".* FROM "member" WHERE
> (invite_code = 'a') AND (activated ISNULL) LIMIT 1 FOR UPDATE;
> - UNEXPECTED ERROR
> - Finished after 71.7 ms (20.0 ms CPU)
>
>
>
> --
> Janne P. Hukkinen
>
> http://www.Hukkinen.JP/VAALILIITTOKONE : Uusi menetelmä poliittisten
> ohjelmien asiasisälöjen muotoiluun äänestäjälähtöisesti
> ja vaalilistakohtaisesti
>
> 050 55 666 77 (mobile)
>
> skype: hukkinen
>
> http://twitter.com/hukkinen
> http://facebook.com/hukkinen
> http://plus.google.com/103639822411983971745
> http://youtube.com/hukkinen
> http://citeulike.org/user/hukkinen
> http://www.linkedin.com/in/hukkinen
> http://www.quora.com/Janne-Hukkinen
>
>
> _______________________________________________
> Main mailing list
> Main at dev.liquidfeedback.org
> http://dev.liquidfeedback.org/cgi-bin/mailman/listinfo/main
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dev.liquidfeedback.org/pipermail/main/attachments/20120708/a731d763/attachment-0001.html>
More information about the Main
mailing list