• Page 1 of 1
  • 1
Forum moderator: bigblog  
language selection for some pages?
laserist
Posts: 62
Reputation: 0

Message # 1 | 6:52 PM
Hi guys.
This is my site (everything in it is placeholder now): http://avaritia.do.am/

I'd like the "Home" and "info" pages to have a button to choose between English text and Armenian text. These pages aren't going to be updated often and they are pages I created which only contain text and embedded videos and images.
Any ideas how I can make a language "switch button" for the pages.

I'd also like to be able to have a language select button like that for the FAQ page, but faq page is a module so it might be more difficult to do so.
PixelKhaos
Posts: 636
Reputation: 26

Message # 2 | 7:43 PM
laserist, you can use google translate for that.
Or if you'd like correct english, and are able to write it yourself, you can use this Javascript tabs (Demo).

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
laserist
Posts: 62
Reputation: 0

Message # 3 | 7:51 PM
Thanks alot.
Any ideas what to do with the FAQ page I guess I could use this if I could have two separate faq modules at once.
PixelKhaos
Posts: 636
Reputation: 26

Message # 4 | 7:54 PM
laserist, Now I'm not sure, but I think you can make categories for the FAQ module. So if so, you could make one for each language, and just link to them with a button or something.
Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
laserist
Posts: 62
Reputation: 0

Message # 5 | 11:56 AM
Okay those javascript tabs are confusing I cant use them. Like where do I put the javaScript code?
Is there a html version of something like that?
Adding option to choose a second language on few of my website's pages is the last thing left for me...
Post edited by laserist - Tuesday, 2014-02-18, 12:08 PM
PixelKhaos
Posts: 636
Reputation: 26

Message # 6 | 10:56 PM
laserist,You could always just write two sections on the same page, and use anchor links.
These codes can be placed directly on a page when editing with html tags enabled.
Code
<a href="#LANGUAGE">LANGUAGE</a>
<a href="#LANGUAGE2">LANGUAGE2</a>


And for each section of text, use this code.
Code
<div id="LANGUAGE">
      <h2>TITLE</h2>
      <div>
        <p>YOUR TEXT HERE</p>
      </div>

<div id="LANGUAGE2">
      <h2>TITLE2</h2>
      <div>
        <p>YOUR TEXT HERE</p>
      </div>
</div>


Just make sure to fill in your text, title and language (written in capital letters in codes).

Proud uCoz user since 2006
Freelance designer - http://pixelkhaos.com
PixelKhaos on twitter - @PixelKhaos

I can help you develop your site for a small fee.
laserist
Posts: 62
Reputation: 0

Message # 7 | 2:54 PM
Thank you! this will do for now.
  • Page 1 of 1
  • 1
Search: