WebSite X5Help Center

 
Vikash Y.
Vikash Y.
User

<html lang="en-GB" dir="ltr"> to <html lang="en">  en

Author: Vikash Y.
Visited 1729, Followers 1, Shared 0  

I want change <html lang="en-GB" dir="ltr"> to <html lang="en">

How i can do.

In Step 1

I Select Content Language (EN-Engling)

in html its showing <html lang="en-GB" dir="ltr">

Posted on the
6 ANSWERS
Paul M.
Paul M.
Moderator

Hello Vikash,

In the Language Content Management screen scroll down to the variable called 'lang_code' in the ID Content field (see the screenshot attached).  Then click in the column on the right where you will be able to directly change the text from 'en-GB' to 'en'

Save your changes by clicking 'Close' (do not exit by pressing the red cross in the top-right corner).

Republish your project to the web.

Kind regards,

Paul

Read more
Posted on the from Paul M.
Vikash Y.
Vikash Y.
User
Author

thank you very much!

language changed.

how i remove  dir="ltr">

Read more
Posted on the from Vikash Y.
Paul M.
Paul M.
Moderator
Vikash Y.
how i remove  dir="ltr">

This cannot be altered as far as I am aware.  WebSite X5 will automatically set the direction of text in conjunction with the language selected.

In your case you have selected English, and English is always written and read left-to-right, hence why this value is set in the tag.

Read more
Posted on the from Paul M.
Vikash Y.
Vikash Y.
User
Author

I Change Language as your told, its showing in html page. But in Google analytic tool reporting its showing en-GB Language

Read more
Posted on the from Vikash Y.
Paul M.
Paul M.
Moderator

If you wait then the Googlebot will recrawl your page(s) at some point, which will refresh the content in Google's cache.

Read more
Posted on the from Paul M.
Vikash Y.
Vikash Y.
User
Author

Ok

Thanks you Very Much Sir for give time and support.

Read more
Posted on the from Vikash Y.