On Thu, Aug 29, 2013 at 1:08 PM, Ariel Constenla-Haile <arie...@apache.org> wrote: > On Thu, Aug 29, 2013 at 09:49:33AM -0400, Rob Weir wrote: >> As I mentioned earlier I'm trying to make a self-contained English >> language website that can copied and translated to make new (or >> refreshed) NL websites. This includes the 25 or so core pages that >> should be translated for every language. >> >> You can see the site here in: >> >> https://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/content/xx/ >> >> or a live copy here: >> >> http://www.openoffice.org/xx/ >> >> As you can see, it is not picking up the topnav at all. Ditto for the >> side navigation on pages like: >> >> http://www.openoffice.org/xx/why/ >> >> Any idea what I'm missing? I've added a ssi.mdtext file into the >> templates directory, e.g.,: >> >> https://svn.apache.org/repos/asf/openoffice/ooo-site/trunk/templates/xx/ssi.mdtext > > I applied the general changes to make the /xx/ site work. It had some > issues, among those mixed line endings. There are still some things to fix > (specially with links). In general, you should look at the /es/ site to > see how it should be done; there I tried to avoid relative (of the kind > ../) and fixed (contenting http://www.openoffice.org/...) links, and use > the path to the site, for example: > > <script type="text/javascript" src="/download/download.js"></script> > <script type="text/javascript" src="/scripts/entourage.js"></script> > > @import url(/support/print.css); > > this is less error-prone. >
Thanks. I'll take a deeper look. But one question: what is the strategy on locale detection on the download page for NL pages? It looks like you are hardcoding it to "es", but preserving the OS detection code? I see: var NL_LANGUAGE = "es"; Is that all that is needed? We can otherwise just reuse the same scripts? -Rob > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org