From: Alfredo Cosco <alfredo.cosco AT gmail.com>
Date: Wed, 1 Jul 2009 00:50:41 +0200
| Threading: | • This Message → [EP-tech] Re: does not generate static in languages different from english from alfredo.cosco AT gmail.com → [EP-tech] R: Re: does not generate static in languages different from english from michele AT asb.unisi.it |
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?