Posts: 10
Threads: 4
Joined: 21st Dec 15
25th Dec, 09:48 am
(This post was last modified: 25th Dec, 11:51 am by thedivision.)
How can I translate gameone theme?
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"
Posts: 743
Threads: 45
Joined: 5th Apr 12
Hi, where are you finding that code and what are you trying to change on the frontend?
Posts: 743
Threads: 45
Joined: 5th Apr 12
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";
}
Posts: 10
Threads: 4
Joined: 21st Dec 15
(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!
why you hide in css files
Thank you
Posts: 743
Threads: 45
Joined: 5th Apr 12
(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! why you hide in css files
Thank you
Happy to help. If you have other questions please open another thread