WordPress 4 includes a cool new feature for selecting a language during installation allowing much easier WordPress localization.
Pre WP 4 to achieve the same localisation you would have to download and install WordPress in your language: was harder to setup localization before WP 4.
In WordPress 4.0 there are 40 languages currently localized by default. Using this new WP feature with the Stallion Responsive language translation feature you can fully localize WordPress in minutes.
Continue Reading WordPress Language Translator
WordPress in my Language
Hi, David
I am a big problem now with my dashboard language. I think that you may say it is not connected with your stallion theme. Well, if so, I agree. But I think that you more than I do in working on wordpress.
I have added on my new domain on my previous hosting. Before I add my own language into my site But then I added new one site to that hosting and everything work well, even your theme, but what the problem is that I tried to change language on my dashboard from English into my own language (Khmer). It appears known but when I write a post in khmer language, it is unknown.
I read the guideline from wordpress.org of how to change language and I did as what the post wrote. I changed the wp_config.php by adding the word (km_KH) into the define(wplang) and then I upload (km_KH.mo) file into the wp_include with subfolder name (languages). Then it appears in khmer somehow on my dashboard but when I write a post, it is unknown.
I hope you guide me if there is wrong that I did. Or please other people know about it, I please please help !
I just want to use my own lanuage (Khmer) with English on my new addon domain but now I could not write even a post in khmer.
Thank your help,
Ratanak
WordPress in my Language
WordPress in Other Languages
I have no experience using WordPress in a language other than English. Only time I’ve tried with a foreign word it didn’t go to well, lots of ????????? instead of the foreign characters.
Your better asking at https://wordpress.org/support/ there’s thousands of people participating there who can help with general WordPress support.
A search for km_KH gave these results that may or may not be useful to you: https://wordpress.org/search/km_KH?forums=1
David
WordPress in Other Languages
WordPress Khmer Language
Yes, although I upload a km_KH.mo file into my wp language, it appear ????? like you tell me. Therefore I have no ideas to create it.
But my another site is run normal and I can write khmer language on it. I do the same as I did with my previous site but I don’t know why it appears like this.
If you can find something help, Please please please I really need it.
My new site is for khmer farmers know how to do their agriculture, so I have to write in Khmer language. Therefore, I could not provide them useful information.
Thank for your help,
Ratanak
WordPress Khmer Language
WordPress Support
Try https://wordpress.org/support/ I don’t have the expertise in dealing with WordPress in different languages to help you on this one. It’s not a Stallion Theme issue, it’s WordPress language setup related.
David
WordPress in Different Languages
We use different languages and the Stallion theme works fine.
guess you download wordpress in your own language?
Its a WP issue.
WordPress Language Support
Well, I use a host in a company and then I bought other domains for hosting by using addon domain.
My first domain is run fine with stallion theme and I could write my language. But my addon domains are not posted well with my language although I tried to do exact the same as I did for my first domain.
I think that I would not do wrong for my addon domain. I installed wp as normal from the cpanel and select the addon domain and it runs normal. but when I add a fiel for changing language, it appears in my language normally but when I write a post in my language, it appears ?????. I don’t know why? and if you have experienced with this problem, could you guide me more.
Really thank for your help,
WordPress Language Support
French WordPress Theme
Hi David,
I was not sure on which section to post these questions:
1) I’m creating a site in French, I wonder, how could I change the language of the theme to make it more pleasant for French readers? I don’t want to change the language for me as admin (although if it changes it does not bother me), but only for the readers.
For example change “Continue Reading” into “Lire la suite”, and so on…
I remember in the past I used to go to each file and simply translate (change the labels) the words from English into the language I wanted. I thought doing the same, but I got lost in the code.
2) If you visit my site you will notice this site is for cartoon strips. The question here is, how could I add “non-visible” searcheable text to the image (which btw is going to be the same text featured in the cartoon strip on each given post) so that readers can “search” for related words and will get as result the posts containing that “searched term” (I hope it’s clear)
Thanks a lot
Héctor
French WordPress Theme
WordPress Theme French Language Translation
Adding language support to Stallion is on the list of things to look into, I’ve had a quick look into adding language support and looks like it’s a real pain to manage since the pot and mo files (language files) are based on line numbers: so if you take a Stallion template file like comments.php, find English text that’s shown in a browser like
Which is on line 9.
As I understand it you add this text and info to an English language file and create other language files like French to convert the text.
Problem with this approach is updates, if I change the above English text or the line number changes all the language files need updating. Fine for a few sentences, but Stallion has a LOT of text, especially on the options pages and I’m fluent in one language, so wouldn’t be able to edit a Chinese language file to take into account updates!
I’ve been thinking about tackling this another way, replace the text with an option and have it on a Stallion Language options page where the user can add anything they like in any language. As long as all text that is visible to the end user is covered it wouldn’t be too difficult to create specific language based default options sets (like you see on the main Stallion Options page for my defaults and my SEO defaults) which would be a heck of a lot easier to maintain than the current language translations theme and plugin developers use.
If I try this it will start with what our visitors see not what’s on the Stallion options pages etc… generate (way too much text to translate). Not perfect for those who don’t read English, but if stage one works who knows.
Anyway, right now I’m afraid it would be a case of editing the template files manually to how you want them. I’m working on the Stallion 6.3 update and it’s a BIG update so I wouldn’t start it yet since you’d have to start it again after the update.
I might give the language translation options page a try for this update as ignoring the language translation possibilities would be great to be able to change the English text for some sites.
With regard the searchable text you don’t see on page related to images.
You have two options and one is greyhat SEO.
SEO safe is use alt text, put the text in the alt attribute for the image. Not only is this SEO safe, search engines like Google use the alt text for ranking purposes. It’s also searchable via the WordPress search facility.
Greyhat SEO use noscript. Noscript is for when information is hidden behind say javascript or flash and you add the text in noscript tags. For visitors with javascript turned off see the noscript tags, not checked if WordPress search facility reads noscript, I would assume it does. Problem with noscript is it’s abused by blackhat SEO’s, perfect place for stuffing keywords, so if you use it inappropriately you could get a penalty. Since alt text is designed for what you want to achieve it’s SEO greyhat to use noscript unless you have a really good reason for using it like a LOT of text and even then it’s pushing it.
David
Update: Added a much easier language translation feature to Stallion, anyone can fully translate Stallion to another language.
WordPress Theme French Language Translation
WordPress Theme Language Translations
Added language translation to Stallion 6.3, but I’ve not used the usual po/mo file language translation you get with some WordPress themes and plugins, the translations are held in the WordPress database which should make keeping them up to date and creating more translations easier.
The language translation ONLY covers what our visitors see on the webpage, none of the options page text will be translated, there’s too much of it and I’m fluent in only one language and trying to keep the options pages up to date in various languages would be a nightmare. I wonder if the Google translator widget concept built into Stallion would work for the Stallion option pages as well???
Like I said the translation covers what is seen on the webpage by our visitors, so for the Comment Form area all the entries are translatable on an easy to use Stallion options page.
Currently the Language Options page has 31 text snippits (might increase as some widgets might need translations) that can be translated plus an option to select a language file with all the settings already translated to various languages: currently four options: English, French, German and Custom with the custom one for any language you translate.
I’m only fluent in English, I used Google translate to generate the French and Germen translations, I have no idea how good/bad they are :-)
Good news is Google translator can save your translations (though doesn’t save any edits to the translation).
French: https://translate.google.com/#auto|fr|Name%0AMail%20%28not%20published%29%0AWebsite%0AComment%20Title%0A%28required%29%0ASubmit%20Comment%0AYou%20must%20be%20logged%20in%20to%20post%20a%20comment.%0ALogged%20in%20as%0ALog%20out%0A%0AYour%20comment%20is%20awaiting%20moderation.%0AThis%20post%20is%20password%20protected.%20Enter%20the%20password%20to%20view%20comments.%0AResponses%20to%0ALeave%20a%20reply%20to%0AComment%20on%0AReply%20to%20Comment%0AMore%20Comments%20by%0A%0APosted%0Aon%0Aby%0Ain%0A%0AArticles%20by%0Ais%20the%20author%20of%0Aposts.%0AWebsite%0A%0AContinue%20Reading%0ANo%20Comments%0A1%20Comment%0AComments%0A%0ARelated%20Articles%20to%0Apowered%20by%0AStallion%20WordPress%20SEO%20Theme
German: https://translate.google.com/#auto|de|Name%0AMail%20%28not%20published%29%0AWebsite%0AComment%20Title%0A%28required%29%0ASubmit%20Comment%0AYou%20must%20be%20logged%20in%20to%20post%20a%20comment.%0ALogged%20in%20as%0ALog%20out%0A%0AYour%20comment%20is%20awaiting%20moderation.%0AThis%20post%20is%20password%20protected.%20Enter%20the%20password%20to%20view%20comments.%0AResponses%20to%0ALeave%20a%20reply%20to%0AComment%20on%0AReply%20to%20Comment%0AMore%20Comments%20by%0A%0APosted%0Aon%0Aby%0Ain%0A%0AArticles%20by%0Ais%20the%20author%20of%0Aposts.%0AWebsite%0A%0AContinue%20Reading%0ANo%20Comments%0A1%20Comment%0AComments%0A%0ARelated%20Articles%20to%0Apowered%20by%0AStallion%20WordPress%20SEO%20Theme
On the left are all the English snippets that Stallion will translate and on the right is the translation.
I’ve taken the translations and added them to a file in the folder /stallion-seo-theme/languages/ which is linked into the Language Options page so a language can be loaded into the database rather than have the user type the translations.
I’m supposed to not be adding more features to Stallion 6.3 :-) but if anyone wants a specific language translation added to Stallion 6.3 edit one of the links above to your language and copy and paste the translation (right panel) into a comment or email it me like this (this is the German translation):
Namen
Mail (wird nicht veröffentlicht)
Webseite
Geben Sie Ihre Meinung Titel
(Pflichtfeld)
Kommentar abschicken
Sie müssen, um einen Kommentar einloggen.
Angemeldet als
ausloggen
Ihr Kommentar wartet auf Moderation.
Dieser Beitrag ist Passwort geschützt. Geben Sie das Passwort, um Kommentare lesen.
Die Reaktionen auf
Lassen Sie eine Antwort auf
kommentieren
Auf Kommentar antworten
Weitere Kommentare von
Verfasst am
auf
durch
in
Artikel von
ist der Autor des
Beiträge.
Webseite
weiterhin lesen
Keine Kommentare
1 Kommentar
Kommentare
Weitere Artikel zum
powered by
Hengst WordPress SEO Theme
Don’t just post the default Google translation if you don’t read the language, only make a translation for me to add if you understand the language reasonably well. If you read German/French and find my translations (which are pretty much the default Google translation versions) aren’t the best feel free to edit them and I’ll update the files before Stallion 6.3 is released.
When Stallion 6.3 is released you’ll be able to use the custom file to translate a language yourself and if you send me the translation I’ll try to include it in the next update.
I’ve not tested this feature on a live site yet, only on localhost, had issues with the character encoding, I was working with a text editor with character encoding ANSI and most WordPress sites use UTF-8. This meant the settings when run broke the language options page because I was trying to add non UTF-8 characters and the MYSQL database wasn’t saving them correctly. After converting the file to UTF-8 it worked perfectly, so when I release Stallion 6.3 make sure you create and save the files in UTF-8 if you work with the custom language file.
David
WordPress Theme Language Translations
WordPress French Translation
Hi David,
thanks for that consideration. Here is the translation
Nombre
E-mail (no será publicado)
Sitio web
Título del comentario
(requerido)
Enviar un comentario
Tienes que estar logueado para escribir un comentario.
Conectado como
Finalizar la sesión
Tu comentario está en espera de moderación.
Esta entrada está protegida por contraseña. Introduce la contraseña para ver los comentarios.
Las respuestas a
Deja una respuesta a
Opina sobre
Responder al comentario
Más Comentarios
Publicado
el
por
en
Artículos por
es el autor de
artículos.
Sitio web
Seguir leyendo
No hay comentarios
1 Comentario
Comentarios
Artículos relacionados con
Creado con [hector says:it’s not the literal translation, but it’s the idea]
Stallion SEO WordPress Theme [hector says: you do not need to translate this]
WordPress French Translation
Stallion Theme French Translation
Thanks for that, have added them to the Stallion 6.3 update.
David
WordPress Norwegian Translation
Hi David,
After updating Stallion to the latest version, I’m having difficulties translating my front page into Norwegian (getting rid of “Continue reading” and some other parts). All the other pages have been translated properly. In the previous version I used, it was easy using the editor under Appearance. However, now I can’t find the file (or which part in the file) to edit.
Any tips?
WordPress Norwegian Translation
WordPress Theme Language Translation
I’ve added some language translation to Stallion 6.3 which I’m working on releasing soon (this month I hope).
Easiest way to find specific text is to work offline and use a text editor like Crimson Editor (it’s free) and do a “Search >> Find in Files” search for the text you are looking for and it will output all files with the text.
If you do a search within files using Crimson Editor for example for “Continue Reading” for Stallion 6.2 you’ll find 11 files include the phrase, including content.php and content-***.php where *** is the name of files like aside, audio etc… The other file is /plugins/stallion-seo-super-comment.php
These are all gone in Stallion 6.3, “Continue Reading” is held in the database and on a new Stallion Language Options page you can change it to whatever you want. To achieve what you are try to do will be edit one options page (has around 30 options).
I’ve adding language translations for the English words visitors see (not touching the Dashboard text, too much of it though I have been editing Stallion so if someone wanted to generate a po/mo file they could).
I currently have a French translation (thanks to Héctor) and happy to add more, just need a translation of these words and phrase into a specific language and can add a file to make it easy for users to add a translation with a couple of clicks of the mouse:
I’ll add translation for any language, if you know the above words and phrases in Klingon go for it :-) That would be pretty cool to have a Klingon translation ;-)
David
WordPress Theme Language Translation
WordPress Theme Translations
Hi David,
I´ll be glad to provide some WordPress translations. Should be ready within a couple of days :)
WordPress Spanish Translation
Hi,
just in case, the translation I provided was in Spanish.
regards
British People and Foreign Languages!
LOL, I thought it was French :-)
That’s what you get for having an British person dealing with anything to do with languages.
Will replace the file with a French translation soon and add a Spanish translation in the next update.
David
WordPress Spanish Translation
Hello Davis , i like buy your template , bue i had 2 questions about this:
can i install 20 blogs whit 1 license (70$)?
Is possible and easy transalate to spanish? any .mo .po file?.
Thanks in advance.
Stallion Theme Language Translations
I’m not using the standard po/mo file language translations, I use an options page for translations where a user can change pretty much all words/phrases that’s part of Stallion that a visitor sees. Used in combination with a WordPress language pack for WordPress core words and phrases you can create a fully translated site.
For example where you see this text near the comment box below
Leave a reply to Stallion SEO WordPress Theme Support
The “Leave a reply to” part can be changed within the Stallion Language Options page.
This test site is running with a Stallion Chinese translation. If I installed the Chinese WordPress language pack and could write posts in Chinese (which I can’t :-)) the entire site would be in Chinese.
The benefit of this system over the po/mo system is there’s only 36 unique words/phrases that’s part of the Stallion theme template files that a website visitor sees, so to create a translation it’s changing 36 words/phrases on an options page. With po/mo files every update requires all the language translations updating if the text is changed slightly.
I haven’t added any translations for text within the WordPress Dashboard, so the Stallion options pages will be in English. I was looking into adding a Google translator button on the Dashboard backend during the Stallion 7.0 update, but couldn’t get it working quickly so left it for a future update. When I get it working this will allow logged in users to use the Google translator to translate the WordPress Dashboard in all languages supported by Google translator (same as you can on this site when you use the translator under the “Stallion Google Translation” widget on the right menu).
There’s also language sets, currently
English : (Defaults)
Chinese : (Google Translation)
German : (Google Translation)
French : (Google Translation)
Norwegian : (User Translation)
Polish : (User Translation)
Two clicks of the mouse and all Stallion theme words/phrases seen by a visitor are changed to another language.
I have a Spanish translation (User Translation) that’s included with the latest Stallion zip file, but not incorporated into the options page settings: a customer supplied the translation and I added it to the French file by mistake, it will be added to the next update for easy access via the options page or can be used as a custom translation now by renaming a file. Under the folder /stallion-seo-theme/languages/ rename es_ES-spanish.php to zz-custom-language.php after deleting the original zz-custom-language.php file. Then select “Custom Language : zz-custom-language.php” on the Stallion Language options page. I’ll have this fixed in the next update (working on it now, just added the TwentyEleven theme colour scheme as a Stallion colour scheme).
I add the language feature in Stallion 7.0 so not added many translations, I’m looking for more user translations (the Google translations are OK, but not perfect). I will be adding more Google Translator translations (probably be over a dozen) in the next update which can then be improved on by users.
Stallion SEO Theme License
Each purchase entitles the user to use Stallion on as many of their own domains as they like. There’s no developer license. If I find a customer selling sites with the same Stallion ID that Stallion ID will be disabled.
If you own 1,000 sites you need one Stallion ID for your entire network.
If you sell sites running Stallion each site needs its own ID.
Basically one Stallion ID per user.
David
Stallion Theme Language Translations
Remove WordPress Powered by
Hi David , i buy your theme , and i like delete or remove the next one:
In by example i want remove:
1 ©2012 JAMON IBERICO vs JAMÓN SERRANO “powered by Stallion WordPress SEO Theme”
2 Recent Articles are in english i like remove this widget.
3 in your theme options , in Choose a Language , what must i choose for spanish ,:
Use Current Settings or Custom Language : zz-custom-language.php
when I have translated all data from Stallion SEO Theme Language Options page , can i copy “any file” with translation made to my anothers stalion wordpress blogs? in another themes are .po .mo files.
Regards , and thenks in advance.
Ivan.
Remove WordPress Powered by
WordPress Theme Spanish Language Translation
To remove the “powered by Stallion WordPress SEO Theme” link go to Stallion Clickbank Options and near the bottom set “Backlink OFF”.
This won’t remove the link to your home page the “©2012 JAMON IBERICO vs JAMÓN SERRANO” part will remain.
Sounds like you aren’t familiar with widgets. The Recent Articles widget is a default widget, go to Appearance >> Widgets and add the widgets you want to the Left and Right sidebars and all the current widgets will be removed. It will make sense after you add at least one widget to the left and right sidebars.
If you want a Recent Articles widget with your translation use the “Stallion SEO Posts Widget”. With the Stallion SEO Posts Widget you can add your own title in any language.
There’s a Spanish Language file with Stallion, but it’s not incorporated into the options page (I made a mistake, will be fixed in the next update). To use the Spanish translation
Under the /stallion-seo-theme/languages/ folder delete the file
zz-custom-language.php
rename the file
es_ES-spanish.php
to
zz-custom-language.php
Or I’ve made a zz-custom-language.php file with the Spanish translation within at download the zip file, unzip and copy the zz-custom-language.php file to /stallion-seo-theme/languages/
Under the Stallion Language options page select “Custom Language : zz-custom-language.php” and the Spanish translation will be used.
You can use the zz-custom-language.php file on any site.
If you want to edit the files on your PC with a text editor to add your own translation
es_ES-spanish.php
zz-custom-language.php
You will see they can be edited to your needs. Literally copying the contents of es_ES-spanish.php into zz-custom-language.php provides a Spanish translation or you could create your own by editing what is already in zz-custom-language.php. If you want to make your own Spanish translation for now add it to zz-custom-language.php, in the next update use es_ES-spanish.php.
Since I made a mistake when I was putting Stallion 7.0 together I originally put the Spanish translation in the French file! In the Stallion 7.0.1 update which was a quick bug fix I used the correct French translation in the French file and created a Spanish file, but didn’t add it to the options page. In the next update (Stallion 7.1) which might be released this month the Spanish file is added to the options page.
David
WordPress Theme Spanish Language Translation
How to Delete WordPress Widgets?
Thanks David , you have a good response time and good support.
Two questions more for example In the page :
1 i see in english Search in the footer and “No Comments Found” in widgets.
2 i go to the widgets and in Left Sidebar I only see :
Entradas recientes
Archivos
Categorías
Etiquetas
i have two widgets of more. Recent Articles and Comentarios recientes
Where can i delete this.
Thanks again.
Best Regards.
Ivan.
How to Delete WordPress Widgets?
Removing WordPress Default Widgets
Go to Appearance >> Widgets
Drag and drop any widget to the Left sidebar.
Drag and drop any widget to the Right sidebar.
Check your home page and it should all make sense. You don’t remove the default widgets one by one, they are ALL removed when the first widget is added to a sidebar so you can build the sidebars exactly how you want them.
The default widgets are there so the site works right out the box, without them the sidebars would be empty.
David
Removing WordPress Default Widgets
WordPress Widgets Text Translation
Thanks again David,
1 But in the left side only i have this widgets
Entradas recientes
Archivos
Categorías
Etiquetas
i cannt remove Recent Articles and Comentarios recientes , because not exist in the left side.
2 how can change to spanish :
english Search in the header and “No Comments Found” in widgets.
Thanks again.
Regards.
Ivan
WordPress Widgets Text Translation
Default WordPress Widgets
You HAVE to add a widget to remove the default widgets.
Go to Appearance >> Widgets
Drag and drop any widget into the currently EMPTY Left sidebar widget area.
Check the home page.
Do the same for the right sidebar.
Go try it and it will make sense, you have to add a widget.
David
WordPress Search Form Image Text
The Search text is part of the image, it’s this image so you would have to create a new image with Spanish text or not use the Search form within the header area.
The image is located at
/stallion-seo-theme/images/delicate/search.gif
In the next update the image can be turned off, working on having the release out this month.
If you disable the Header Search form under “Stallion Layout Options” – “Search Form OFF” you can add the Stallion Search Widget under Appearance >> Widgets and the Stallion Search Widget doesn’t use an image.
You can even add the Stallion Search Widget to the “Header Ad Widget” area and it will load where the current search form is minus an image.
Looks like I missed a translation, missed the word “Go” on the Stallion Search Widget so the above would add a word Go in English instead! Will have that sorted in the next update, will also be double checking I haven’t missed others like the “No Comments Found” text you found when there’s no comments on a page. The Recent Articles widget text isn’t need to be translated, it’s a default widget that would be removed once the first widgets are added (working on the assumption everyone uses widgets, which they should).
If anyone finds text that you think should be converted by the language settings let me know and I’ll take a look. I added language translation recently, so new feature, easy to over look a bit of text.
David
WordPress Search Form Image Text