Languae bar on VSWIKI

Discussion and planning of required developer support for multiple languages, and design and commentary on tools and techniques to assist with the automation of generating language specific structures.
Post Reply
paynalton
Merchant
Merchant
Posts: 33
Joined: Fri Nov 24, 2006 3:57 am
Location: México
Contact:

Languae bar on VSWIKI

Post by paynalton »

Any one can helpme whit the languaje bar on the VS manual from the wiki??

I am translating the manual to the spanish, I have modified some the bar but i don't believe that the work is correctly.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

If I had the time...
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

The bar should be fixed now. I changed the syntax to be a little easier to figure out.

If a bar is not on a page, you have to go to the english page, and add at the top:

Code: Select all

{{Languages|En|EnglishPageTitle}}
Many common pages will already have a bar, so it may not be necessary.

Then, you can click on the red link at the top for Español, and it will take you to a page titled Es:EnglishPageTitle

Now, edit the Es:EnglishPageTitle by pasting text in or whatever you need.
At the top, you will need a language bar too, however you do it slightly differently--You put in the lanuage code "Es" instead of "En":

Code: Select all

{{Languages|Es|EnglishPageTitle}}
Finally, if the name of the english page is different than the name of the spanish page, you can click the "MOVE" tab at the top, and move it to Es:SpanishPageTitle.

You can also do this manually with a #REDIRECT but moving is much easier.
However, if you edit the Spanish page directly without setting up the redirect, the language bar can't find the translated page.

It's fairly complicated, so look at how the Manual page was done (you were close).
paynalton
Merchant
Merchant
Posts: 33
Joined: Fri Nov 24, 2006 3:57 am
Location: México
Contact:

Post by paynalton »

tanks for the help... I will continue working
Post Reply