[index] [prev] [next] [options] [help]
See the Contact page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Re: does not generate static in languages different from english

From: Alfredo Cosco <alfredo.cosco AT gmail.com>
Date: Wed, 1 Jul 2009 14:11:41 +0200


Threading: [EP-tech] does not generate static in languages different from english from alfredo.cosco AT gmail.com
      • This Message

http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** EPrints community wiki - http://wiki.eprints.org/
Any suggestion?

2009/7/1 Alfredo Cosco <alfredo.cosco AT gmail.com>:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** EPrints community wiki - http://wiki.eprints.org/
> Hallo,
> I'm setting a bilingual archive: italian (as default) and english.
>
> So, i download italian translation from this page: 
http://files.eprints.org/409/
>
> I added a dir called "it/" with translation content (only the 
dir
> called "phrases") in  " lib/defaultcfg/lang" and in 
" lib/lang "
>
> I changed the default language and available languages in
> /lib/defaultcfg/cfg.d/languages.pl in this way:
>
> $c->{defaultlanguage} = 'it';
>
> $c->{languages} = [ 'it' ];
> $c->{languages} = [ 'en' ];
>
> so i create the archive (bin/epadmin create), i run generate_views and
> generate_static in verbose mode and i see that ongli en/ directori is
> filled
>
> so if I set only Italian language in browser i receive an error:
>
> EPrints System Error
>
> Error. Template not loaded.
> Language: it
> Template ID: default
> Not Found
>
> then if I add english in browser languages the archive works, but in 
italian!
>
> What do I wrong?
>


[index] [prev] [next] [options] [help]