Change of lang

Posted in: Newspaper
Post count: 494

Hi,

Where can I change the language code of the 1st line of code?
<!doctype html > <!–[if IE 8]><html class=”ie8″ lang=”en”> <![endif]–> <!–[if IE 9]><html class=”ie9″ lang=”en”> <![endif]–> <!–[if gt IE 8]><!–>

Thanks

Post count: 7909

Hi,

Please check header.php file – https://www.screencast.com/t/lkz9NXP2r

Thanks!

Post count: 494

Perfect! Thanks Alin

Post count: 494

Hi,

Since your last update I cannot find the language code in header.php (please read above).
Where can I find it now?

Thanks

Post count: 20688

Hi,

That would be here now – http://prntscr.com/nud6ha in the composer plugin. You could change the language there if this is required.

Thanks

Post count: 494

Thanks Simion!
Why don’t you guys just import the language chosen on WordPress?

Post count: 35449

Hi,

Indeed this is a good point, we’ve noted this as a requirement on our features list, hope this will be implement in our theme soon.

Thank you!

Post count: 494

Hi,

So we still cannot change the lang tag directly from WP or Theme Panel?

Rgds

Post count: 35449

Hi,

Unfortunately for the moment this option was not added to our theme, sorry! hope this will be add in the coming updates!

Thank you!

Post count: 494

Hi,

It seems that you still haven’t improved the language management with your last update and so I made the modifications by myself following Simion’s instructions: https://prnt.sc/nud6ha

BUT, I just noticed that this modification doesn’t work for mobiles: https://ibb.co/3kK5XnJ

Can you kindly help?

It would really be wonderful if you could provide this improvement in the next update so we won’t have to modify the code of your files at every update…

Thanks

Post count: 35449

Hi,

For mobile theme you’ll need to make those settings in wp-content/plugins/td-composer/mobile/header.php hoe this will help you!
We made a note for this requirement, hope this will be include in coming updates!

Thank you for your understanding!

Post count: 494

Thanks Calin

Post count: 494

Hi,

Seems that I cannot change the language in header.php anymore (for desktop and mobile).
As you can see I have 2 “en” that I cannot modify. Why don’t you just pick the WP language for all lang?

<!doctype html >
<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>
<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>
<!–[if gt IE 8]><!–> <html lang=”fr-FR”> <!–<![endif]–>
<head>

Can you tell me where to modify the “en” now?

Thanks

Post count: 35449

Hi,

If you are using the standard pack you need to make the changes in this file -> wp-content/plugins/td-standard-pack/Newspaper/header.php -> http://prntscr.com/pts9xw
If the standard pack is deactivate then you need to set the code in wp-content/plugins/td-composer/legacy/Newspaper/header.php

Thank you for your understanding!

Post count: 494

Hi,

So there’s no more 2 files to modify for desktop and mobile? Only 1?

Thanks

Post count: 35449

Hi,

Sorry, I forgot about the mobile version, for this you’ll need to set this code in this file -> wp-content/plugins/td-composer/mobile/header.php

Thank you!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.