Hello There, Guest! Login Register
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Translate Theme
#1
How can I translate gameone theme?  Huh

Code:
<span data-lang-variable="avatar"></span>
<span data-lang-variable="sig"></span>
<span data-lang-variable="profile"></span>

I cant edit "data-lang-variable"
Reply
#2
Hi, where are you finding that code and what are you trying to change on the frontend?
Reply
#3
To edit "Avatar" or any other text like you wanted you'll need to edit global.css. Find the following:

Code:
span[data-lang-variable="avatar"]:before {
content: "Avatar";
}

Replace with:

Code:
span[data-lang-variable="avatar"]:before {
content: "YourCustomText";
}
Reply
#4
(25th Dec, 06:07 pm)Tan Wrote:  To edit "Avatar" or any other text like you wanted you'll need to edit global.css. Find the following:


Code:
span[data-lang-variable="avatar"]:before {
content: "Avatar";
}

Replace with:


Code:
span[data-lang-variable="avatar"]:before {
content: "YourCustomText";
}

my god! Big Grin why you hide in css files Big Grin

Thank you Shy
Reply
#5
(25th Dec, 07:53 pm)thedivision Wrote:  
(25th Dec, 06:07 pm)Tan Wrote:  To edit "Avatar" or any other text like you wanted you'll need to edit global.css. Find the following:



Code:
span[data-lang-variable="avatar"]:before {
content: "Avatar";
}

Replace with:



Code:
span[data-lang-variable="avatar"]:before {
content: "YourCustomText";
}

my god!  Big Grin why you hide in css files  Big Grin

Thank you  Shy

Happy to help. If you have other questions please open another thread Smile
Reply




Users browsing this thread: 3 Guest(s)