It would be nice to be able to select in what language we want the widget to show. I've already tried translating them using the locale module with no success.

Comments

micropat’s picture

Status: Active » Closed (works as designed)

You could always drop in the following JavaScript code into the Additional Options/Script box to translate to German, for instance:

// de
// German / Deutsch
a2a_localize = {
   Share: "Teilen",
   Save: "Sichern",
   Subscribe: "Abonnieren",
   Email: "E-Mail",
   Bookmark: "Lesezeichen",
   ShowAll: "Alle anzeigen",
   ShowLess: "Weniger anzeigen",
   FindServices: "Finde Dienste",
   FindAnyServiceToAddTo: "Finde deinen Bookmarkdienst",
   PoweredBy: "Unterstützt von",
   ShareViaEmail: "Teile via E-Mail",
   SubscribeViaEmail: "Abonniere via E-Mail",
   BookmarkInYourBrowser: "Lesezeichen im Browser setzen",
   BookmarkInstructions: "Benutze die Tasten Ctrl+D oder Cmd+D um die Seite zu speichern",
   AddToYourFavorites: "Als Favorit setzen",
   SendFromWebOrProgram: "Sende die Seite von der Website oder einem Programm aus",
   EmailProgram: "E-Mail-Programm"
};
alberto56’s picture

Here is my code for French

a2a_localize = {
   Share: "Partager",
   Save: "Enregistrer",
   Subscribe: "S'abonner",
   Email: "Courriel",
   Bookmark: "Signet",
   ShowAll: "Tout montrer",
   ShowLess: "Montrer moins",
   FindServices: "Trouver des services",
   FindAnyServiceToAddTo: "Trouver un service pour ajout",
   PoweredBy: "Fourni par",
   ShareViaEmail: "Partager par courriel",
   SubscribeViaEmail: "S'abonner par courriel",
   BookmarkInYourBrowser: "Ajouter un signet dans votre fureteur",
   BookmarkInstructions: "Ctrl / Cmd-D pour ajouter un signet",
   AddToYourFavorites: "Ajouter à vos favoris",
   SendFromWebOrProgram: "Envoyer à partir du web",
   EmailProgram: "Logiciel email"
};
alberto56’s picture

StatusFileSize
new2.14 KB
new161.69 KB

And here is some css to change the button depending on the language. Make sure you place the enclosed .png in the images folder for this to work. I included the PSD file so you can modify this depending on your language.

/* change the share this image for french */
body.fr a#da2a_1 { 
        text-indent: -20000px;
        width: 171px;
        height: 16px;
        display: block;
        background: url(images/share_save_171_16_fr.png);
}

Cheers,

Albert.