aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 3 4 [5]

Author Topic: New AmuleWeb Skin Mod ( Litoral Mod )  (Read 65646 times)

lfroen

  • Guest
Re: New AmuleWeb Skin Mod ( Litoral Mod )
« Reply #60 on: May 13, 2008, 09:31:06 PM »

linking error: "/usr/bin/ld: cannot find -lintl"

As far as I know, -lintl is unnecessary (included in glibc) and it works if I remove it.

On OSX link fails without it. Maybe some configure macros/vars should be used?

Sorry, how can I set the language in the template? And which message catalogue is used? aMule's?
Not implemented (yet) - until I read f..g manual of gettext and figure out how to bind it to script and template.

Edit: It will crash, see backtrace forum for a backtrace.
I'm on it.
Logged

GeVauDan

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 13
Re: New AmuleWeb Skin Mod ( Litoral Mod )
« Reply #61 on: June 05, 2008, 04:23:13 PM »

Hello everbody,
What is the progress?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: New AmuleWeb Skin Mod ( Litoral Mod )
« Reply #62 on: June 05, 2008, 05:07:59 PM »

Gettext support is working, you have _(), gettext(), gettext_noop() and ngettext(). Currently the language cannot be set on-the-fly, it will use the language set by amuleweb -l switch.

Message catalogs for the templates should be named amuleweb-<templatename>.mo
Message catalogs will be found in:
 - ~/.aMule/webserver/<templatename>/locale/<language>/LC_MESSAGES/
   (only if using template from ~/.aMule/webserver/<templatename>)
 - global message catalog locations (such as /usr/local/share/locale/<language>/LC_MESSAGES/)
Logged
concordia cum veritate

niklotea

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: New AmuleWeb Skin Mod ( Litoral Mod )
« Reply #63 on: July 18, 2008, 04:09:25 PM »

be careful with the bugs...
Pages: 1 ... 3 4 [5]