WP-Appbox ist standardmäßig für deutsche Nutzer gemacht und entwickelt. Seit Version 1.8.0 lässt sich jedoch sowohl die TradeDoubler-URL, als auch die Store-URL anpassen und somit auch für andere Länder einsatzfähig machen. Ging auch vorher – allerdings sind sämtliche Änderungen am Code nach einem Update wieder hinfällig und müssen wiederholt werden, das ist nun Geschichte. Dazu müssen innerhalb der functions.php des verwendeten WordPress-Themes ein paar Funktionen eingebaut werden. Nichts kompliziertes, sollte jeder selber hinbekommen.
TradeDoubler-ID ändern
Die Länderkennung des deutschen iTunes-Affiliate-Programmes auf TradeDoubler ist 23761 – zu erkennen an der entsprechenden URL des Affiliate-Programmes: http://clk.Tradedoubler.com/click?p=23761. Diese ID ist für jedes Land unterschiedlich und kann nun geändert werden. Dazu muss in die functions.php einfach folgende Funktion eingebaut werden. Der Eintrag „COUNTRYID“ muss natürlich mit der gewünschten ID ausgetauscht werden.
Seit dem 1. April 2013 wird TradeDoubler seitens Apple nicht mehr unterstützt, weswegen der Anbieter mit WP-Appbox v2.4.3 komplett entfernt wurde.
Store-URLs ändern
Sämtliche URLs verweisen standardmäßig auf die deutschen Seiten der einzelnen App Stores, aber auch die können nun geändert werden. Dazu muss allerdings für jeden Store eine eigene Funktion in die functions.php des verwendeten Themes eingefügt werden. Hier einmal eine Beispiel-Funktion für den Apple AppStore:
//WP-Appbox: Appple AppStore URL function wpappbox_get_appstore_url() { return('https://apps.apple.com/de/lookup?id={APPID}'); }
Diese Funktion weist auf den deutschen AppStore hin, die URL kann nach belieben ausgetauscht werden. Wichtig ist allerdings: Statt der einzelnen App-IDs muss der Platzhalter {APPID} verwendet werden. Um die URLs anderer Stores zu ersetzen, muss lediglich der Funktionstitel ausgetauscht werden. Folgende Funktionsnamen sind vorhanden und können genutzt werden:
Amazon Apps: wpappbox_get_amazonapps_url()AndroidPit: wpappbox_get_androidpit_url()(Mac) App Store: wpappbox_get_appstore_url()Chrome Web Store: wpappbox_get_chromewebstore_url()Firefox Addon: wpappbox_get_firefoxaddon_url()Firefox Marketplace: wpappbox_get_firefoxmarketplace_url()Google Play: wpappbox_get_googleplay_url()Opera Addons: wpappbox_get_operaaddons_url()Samsung Apps: wpappbox_get_samsungapps_url()Steam: wpappbox_get_steam_url()Windows Phone Store: wpappbox_get_windowsphone_url()Windows Store: wpappbox_get_microsoftstore_url()WordPress Plugins: wpappbox_get_wordpress_url()
Dabei sollte allerdings erwähnt werden, dass zum Beispiel Google und Android Pit die Herkunft des Servers automatisch erkennen und die Sprache samt Währung automatisch an den Server anpassen. Hier bringt ein Wechsel der URL keinen Erfolg.
Gibt es auch eine Möglichkeit via functions.php Einträgen SubIDs hinzuzufügen?
In wie fern SubIDs?
How do I change Language from German to English?
http://www.droid-now.com/2013/08/google-search-2-7-adds-new-features/
It’s showing some app names still in German. Take a look at the link above.
http://wordpress.org/support/topic/change-region-and-language-of-the-play-store-for-brazil
Thanks for a fast response.
I am located in Croatia and I see the app name in German: Google-Suche
When I open Play Store I see in my local language: Google pretraživanje
I have asked a user in Hong Kong to try and it’s the same for him.
If this related that my site is hosted in Germany?
Where do the visitors come anyway, that does not matter. The server makes the request to Google, therefore, its only relevant for Google, where the server comes from.
Is it possible to write app name manually?
I don’t care about the price, but I would like to enter name manually then.
Good day, installed on site the plugin WP-Appbox. this problem: after
pasting the code [storename appbox app-id format] in writing and
publishing an article in the post at the top of the text gives the
following errors:
1. Warning: tempnam () [function. tempnam]: open_basedir restriction in effect. File (/tmp) is not within the allowed path (s):
2. Warning: curl_setopt () [function. curl-setopt]:
CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or
an open_basedir is set in …
3. Warning: unlink () [function. unlink]: open_basedir restriction in effect. File() is not within the allowed path (s): the …
4. Warning: tempnam () [function. tempnam]: open_basedir restriction
in effect. File (/tmp) is not within the allowed path (s):..
5. Warning: curl_setopt () [function. curl-setopt]:
CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or
an open_basedir is set in …
6. Warning: unlink () [function. unlink]: open_basedir restriction in effect. File() is not within the allowed path (s): the …
The intiresno, after pressing F5 (reload) page errors disappear, but
only on the PC on which I just rebooted the page of the record.
Help sort it out. Thank you in advance.
You can look at the site