Re: French site is alive

Vincent Brabant <[email protected]> Wed, 13 Oct 2004 20:58:17 +0200
Newsgroups gmane.comp.java.netbeans.webteam
Message-ID <[email protected]>
Jack Catchpoole a écrit :

> Vincent Brabant wrote:
>
>> The french site is now really alive.
>> Look at http://fr.netbeans.org/
>
>
> Great stuff Vincent!  You have really been busy, there is a lot of 
> content and work there, fantastic.
>
>> a)
>>     I modified the left_nav.inc by adding a call to a javascript file.
>
>
> Cool!
>
>> b)
>>     I also added some tags in the html page, permitting to have a
>>     navigation bar with somes browser like Mozilla. Please look at
>>     
>> http://fr.netbeans.org/edi/40/articles/tutoriels/freeform-config.html
>>     with browser like Mozilla, and a navigation bar will appears
>>     with Top, Up, Last, Next, ...
>
>
> Maybe I am looking in the wrong place, but I don't see this.  Moz 1.7,
> XP.  I also tried with FireFox 1 Preview.

In my french version of Mozilla, I have a main menu Affichage (Dispaly 
in english )
then ToolBars and then Navigation ToolBar, and I can always hide it, 
always show it or show it only when necessary. Please check with your 
version if it's enable or not.

>
>> c) I also added a new meta tag
>
>
> [ ... ]
>
>> A Javascript is reading that meta tags (you can have more than one 
>> meta tag having as name Links: One per language) and add a link 
>> therefore.
>> You can look for result at 
>> http://fr.netbeans.org/edi/40/articles/tutoriels/webapps.html
>
>
> Nice!
>
>> But I think I will modify it, to have the link to original and other 
>> translation appearing in the left navigation bar or on the right 
>> corner like for http://www.netbeans.org
>
>
> Hmmm ... I could probably add the javascript to the standard webmacro
> template used for module websites, in the very top navigation bar.  So 
> the language pulldown would work wherever "links" METAs existed.
> That would be ideal from my point of view, as the language choice
> mechanism would be the same everywhere.  What do you think ? 

If you can do something to have the same mechanism everywhere, it's sure 
it's welcome.
I am pro.

>
>
> Now I need to start to try to integrate links to your FR content from
> www.
>
>> d) I had problems of characters with the news. It seems that when I 
>> create a new, encoding is not UTF-8. But the page where news are 
>> displayed is well in UTF-8 encoding. And that cause problems. Look at 
>> http://www.netbeans.org/community/index.html. I see question marks in 
>> place of é (&eacute;)
>
>
> Ooops, my fault; the news grabber script was not utf-ready.  I'm
> fixing this now, the community/ and news pages should be corrected
> withing a few hours. 

Noted that it's fixed. Thanks a lot.

>
>
> Vincent, I noticed a few things :
>
> 1) You are using your own copy of netbeans.css, hosted on fr.nb.org.
> Why is that ?  I'd recommend against that if possible, since it does
> defeat the purpose of css (being able to update the whole site style
> by editing just one file).
>
> Also, I noticed that on some pages eg
>
>   http://fr.netbeans.org/edi/40/
>
> the css is somehow causing problems.  Compare that page to some www
> page, and you notice that
>
> - the blue strip to the right of the "About" tab is missing;
> - the page is not 100% wide;
>
> I tested and found that this must be caused by differences betwee
> fr.nb.org/netbeans.css and www.nb.org/netbeans.css.  Eg here is a
> version with *only* the css link chagned, and it works correctly :
>
>   http://www.netbeans.org/download/temp/fr.html
>
> (javascript does not wrok here as .js file is not in /temp/).
>
> If you need some special css definitions, maybe a better way is
> to use the normal www/netbeans.css, and also your own specialised
> items in eg fr.css.  What do you think ? 

It was my fault.
Now I modifed the nebeans.css of fr.netbeans.org to include the 
www.netbeans.org/netbeans.css and
add another css entry.

P.S The modification I did in the css file is to have dashed lines 
around (look at http://fr.netbeans.org/edi/40/).

>
>
> 2) fr.nb.org has some encoding problems, I see a lot of strange 
> characters, eg "Bonjour, NetBeans possède enfin un coin, dédié à tous
> les utilisateurs de l'EDI NetBeans." 


I really have no idea what's happens here.
if you look in cvs, the fr/www/index.html contains all necessary for 
encoding and css stylesheet, but for any obscure reason, it's not taken 
into account. It means that fr.netbeans.org is not containing the meta 
tag for encoding nor the link for css file.

Any idea why ?

Same problems occurs with all main index.html pages of all projects.


-- 
Vincent Brabant
----------------
http://fr.netbeans.org/