Welcome! To use this support forum, please Login or Join Today!

   

Lightfast multilingual - set up?

{name}
Rank

Total Posts: 1

Joined 2014-08-29

PM

 

Hey Casey

First: I love your work!

But I have a problem: I Need to set up the page in two languages. Untill now I have set up a multisite Network where I can map the sites to different URL’s. But I don’t get it, how I can come up with a general language Switch! Plugins like qtranslate do not work at all. So I’ve considered to just build one site, copy it and then translate it completely - and add “flag-images” to the Header which would lead to the other side (german/english) - but where and how do I add These Images? I don’t find Header.php in my Directory.

Do you have a hint, which way goes best - or how I can add this to the Header?

—> Best would be flag & text for german & english in the Header, top right

Thanks a lot

J.

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, My apologies for the delayed reply. This one slipped past me.

Do you have a hint, which way goes best - or how I can add this to the Header?

The easiest way might be to add the HTML from: Appearance → Customize → Extras → Header Extras Text.

If you wanted to do something programmatically with it, you could add a function to your child theme’s functions.php and then style it however you wish:

function custom_header_extra() {
    
echo '<div class="language-flags">custom html</div>';
}
add_filter
('skeleton_child_header_extras','custom_header_extra'); 

 

 

{name}
Rank

Total Posts: 1

Joined 2014-08-29

PM

 

Hey Chasey

Thank you so much for your answer :-)

I just wanted to give you a brief update with two questions:

I’ve installed polylanguage which works quite well.

You can see my testsite on http://www.gigermd.tv

The language switch works, but:

1. The teaser is always in german. Is there a way to make the teaser-content (and eventual button-content) switch as well?
How can I do that?
Would be amazing!

2. The language-switch-option is always on the bottom of the site. How could i fix it on the top (especially for responsive causes)?

Could I send you a proposal to get a quote for some customizations?

Much love

J.