normal Change the label Tweetnij to Tweet

More
12 years 3 months ago #379 by Webarts Ltd
Hello,

first of all thank you for the great plug in

could you tell me please how can i change the label on the Tweet button from Tweetnij to Tweet ?

thank you
The following user(s) said Thank You: makcim makcimov

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago - 12 years 3 months ago #383 by Linh Robert

webarts wrote: Hello,

first of all thank you for the great plug in

could you tell me please how can i change the label on the Tweet button from Tweetnij to Tweet ?

thank you


Hi webarts,
Did you edit the plugin file?
You can find the code as this in /plugins/content/otsocialshare/otsocialshare.php:
Code:
if($this->params->get('twitter')==1){ ... $html .= '<a href="http://twitter.com/share" class="twitter-share-button" style="width: '.$widthweet.'px;" data-url="'.$link.'" data-count="'.$twitter_type.'" >Twitter</a>...'; ... }else{ $html .='';}

And you can change the text in
Code:
<a></a>
tag to any word you want.

Thanks for using our products!

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket Notice: Undefined variable: target in /home/omegatheme/public_html/components/com_kunena/template/aurelia/layouts/bbcode/url/default.php on line 32
> www.omegatheme.com/member/
Last edit: 12 years 3 months ago by Linh Robert.
The following user(s) said Thank You: makcim makcimov

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #434 by Webarts Ltd
Thank you for your respond.


the code it looks OK.. between the <a> tags it writes "Twitter" but in the frond end as you can see from the screenshot attached displays the word "Tweetnij"

pls advice

thank you for the great extension
Attachments:
The following user(s) said Thank You: makcim makcimov

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #440 by Webarts Ltd
i find the solution here

getk2.org/community/New-to-K2-Ask-here-f...ial-buttons-language



Go to template name folder > layouts
change in all the php files (default.php, android.php etc) this:

make lang="pl" to lang="en"
The following user(s) said Thank You: makcim makcimov

Please Log in or Create an account to join the conversation.

Time to create page: 0.261 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam