设置Addthis共享按钮的语言 [英] Setting Language for Addthis Share Buttons
问题描述
当我单击共享按钮之一时,弹出窗口和新页面是英文的.
When I click one of the share buttons, the popups and new pages are in English.
有没有一种方法可以将它们设置为另一种语言?
Is there a way I can set them to be a different language?
我已经在addthis_conf
中设置了ui_language
,但是看到我正在使用自定义图像,我认为这并不重要.
I have set the ui_language
in addthis_conf
but seeing as I am using custom images, I don't think that really matters.
var addthis_conf = {
ui_language: "fr"
};
例如,我知道本机Twitter按钮使用data-lang
属性设置弹出内容的语言( https://dev.twitter.com/docs/tweet-button ).
I know, for instance, that the native Twitter button uses the data-lang
attribute to set the language of the popup content (https://dev.twitter.com/docs/tweet-button).
有没有可以用于Addthis
按钮的东西?
Is there something like that I can use for Addthis
buttons?
推荐答案
ui_lang参数将调整AddThis UI的所有元素的语言,并且不会影响您的图像.
The ui_lang parameter will adjust the language for all elements of the AddThis UI and doesn't have an effect on your images.
这篇关于设置Addthis共享按钮的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!