Re: Re: Re: proposal for translated content projects

Jack Catchpoole <[email protected]>
Newsgroups gmane.comp.java.netbeans.webteam
Message-ID <[email protected]>
Maxym Mykhalchuk wrote:

>>>>Just a "ping" on this ISO.netbeans.org website idea ...
> 
> I'm in ;-))
> I looked through a lot of OS projects, and the cleanest way to tell people
> we're localizable to XXX, is to have xx.netbeans.org. So I'm sorry not to
> agree with the idea when it arised.

Not at all, we need to think it through carefully and make
sure it is the best answer for both the translators (you!)
and our visitors/users.

So I think the next step would be to propose it on nbdiscuss.
I'll do that.

> Technically testwww -> www is "a good thing", especially for easy "Printable

Well from an end user perspective it works well, but it really
is a nasty hack from an implementation point of view - very
messy and a lot of complex overhead.  It really should be done
server side, by SourceCast.  Which is not possible, of course :-(

> version", but testxx->xx, testyy->yy, testzz->xx is way too much.
> 
> I propose to have testwww/www/locales/xx -> xx

Hmm, interesting!  This might be possible, though I'm a
little worried - we already have ~11 candidates for xx.nb.org
sites, and that will be a considerable additional load on
our publishing system ...

I guess you are most interested in localisable top tabs,
and "dynamic" left navigation ?

This is possible, but I'm not convinced that it is a good
idea.  I would rather try to find some other soloution ...

I just had an idea for semi-dynamic left navigation.
Currently xx/www/left_nav.html controls the navigation,
and is fixed for the whole of the xx.nb.org site.  If we
had 1 left_nav.html file fore each directory of the site,
and we could display the version for the dir we are
currently browsing, we get dynamic nav!

Eg : xx.netbeans.org/left_nav.html looks like

<a href="products/index.html">Products</a>

And then xx.netbeans.org/products/left_nav.html looks like

Products
<link>IDE</link>
<link>Platform</link>

Then in Webmacro we need to say "use left_nav.html in the
current directory", and Bingo!

The problem is that nobody, including Collab, know how to
find the current directory in Webmacro.  I asked this about
3 years ago and never got an answer :-(  Maybe in SourceCast
2.6 it will be possible.  I've filed an issue :

    http://www.netbeans.org/issues/show_bug.cgi?id=38377

(FYI Webmacro is a scripting language; all pages on *.nb.org
are served wrapped in some WM templates which control some
things.  It sounds nice but has not been very flexible or
useful for us).


-- 
Jack Catchpoole
NetBeans/Sun Microsystems
http://www.netbeans.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.