xLanguage (Wordpress Plugin)

Monday, January 21st, 2008

A WordPress plugin that allows you to blog in multi-language, and users to select which to read. If your want to localize and present your blog in different languages (totally with title, rss, categories working, not just the post) and allows visitors to pick the language they want, this plugin is for you.

這個WordPress plugin使你能夠用多種語文來寫Blog,同時讓讀者選最適合的語文版本來看。若你想完全將你的Blog本地化成多種語文,這個Plugin應該能應付閣下的要求。

xLanguage allows you to blog in different language, and allows user to select which version to read. It works for blog post, page, tags, categories. The user language preferences will also select the right theme and plugins MO files.

xLanguage使你能夠在以多種語言來寫Blog,同時讓讀者選擇他們想看的語言版本。這Plugin的功能可應用在Blog post、頁面、標籤、分類等等。讀者的選擇亦會對MO翻譯檔有效。

Customization is the No. 1 design goal, after all that’s probably the reason why you want to setup a multilingual blog. The language configuration combination is highly customizable to facilitate multiple fallbacks. Every UI is extracted out, which could be optionally overridden by theme design without touching the plugin file at all.

這Plugin是以高度自訂化為設計大前題,歸根究底,閣下想架起一個多語Blog為的大概都是想給讀者一個度身訂造的環境吧?所以,語文設定的彈性是超高的,可容許不同語言交叉重疊。所有使用者介面的部份都已獨立出來,可通過Theme檔來直接重載,而絲毫不動Plugin檔。

This plugin works by inserting W3C standardized <span lang=”..”> tag in the post content, and a XML parser will be involved to extract them when served, extracting all elements with the matching lang=”..” tag. The permalinks and RSS feeds are also presented correctly. For single line data such as post title, a special but simple syntax is introduced.

本Plugin的工作原理是利用W3C標準的<span lang=”..”>標籤把不同語言的段落標籤好,被存取時則利用XML parser按讀者需要的取出來。這Plugin也照顧到Permalinks和RSS feed。至於單行的資料例來Post的標題等等,只需利用一個簡單的方式改寫就可以實現多語功能。

The language preference is detected from browser’s preferences, as well as from Cookie if user visited before. Widget and template functions are also provided to allow user to switch the language easily.

讀者的語言偏好是首先從瀏覽器設定測出來,繼而透過Cookie保存。本Plugin也提供了Widget和Template函數,方便讀者轉換顯示語言。

Please read on for the installation, complete usage guide, screenshots, comparisons and known problems. If you found this plugin useful, please consider supporting it.

這繼續參閱安裝程序使用手冊畫面截圖同類比較己知問題。若你覺得這個Plugin有用的話,請考慮支持一下吧。

Please feel free to let me know if you need additional template functions, or if you have any idea that could make this a even better plugins for you.

若你有想要的Template functions,或者有任何可以改進本Plugin的想法的話,請不要客氣,盡情提出吧!

Notice

If you hit the following error message after installation:

can not redeclare class xLanugagePlugin on line 996 in xlanguage.php

Resetting the xLanguage configuration would help. To do that, please go to “Settings -> xLanguage -> Options” in the Admin control panel, Scroll to the very bottom and reset it.

This is a known problem but I can never reproduce this so have no idea how to fix it. Any volunteer in helping me is very welcome!

Change Log

v2.0.4 (r124177)

  • A better handling logic about the parser log file failover.
  • Updated robot list – code merged from the WassUp 1.7.1
  • No need to upgrade if your installation has been working perfectly, although upgrading might bring SEO benefits as the search engine list has been updated.

v2.0.3 (r105104)

  • A bug that causing infinity redirection loop is fixed (#23)
    No need to upgrade if your installation is working perfectly. If you gave a try before and found that the URL generated does not work or causing infinity loop, please give another try with this.

v2.0.2 (r92141)

  • Critical bug fixed: The SQL in get_pages_in_current_lang() is invalid (#22)
    Please upgrade if your theme used get_pages() function.

v2.0.1 (r84024)

  • New features: Now you can hide those post written in foreign that reader can’t read. See the updated user guide in the next few pages.
  • Now it’s easier to put the flag icons! See the updated user guide in the next few pages.
  • Support Wordpress 2.7.0

v1.3.3 (r44242)

  • #9 is regressed causing xLanguage installation dead on arrival. Now fixed together with #10.
  • This new version should solve the v1.3.2 installation problem.

v1.3.2 (r44032)

  • #9 is fixed – xLanguage should be usable in WP-MU now.

v1.3.1(r43326)

  • #8 is fixed – The static homepage bug introduced in v1.3.0.

v1.3.0 (r42456)

  • New feature #4 is implemented. In addition, to http://example.com/page/something/lang/en, now it could be http://example.com/lang/en/page/something.
  • No other bug is fixed.

Licensing

CC-GNU GPL

This plugin by Sam Wong is licensed under the CC-GNU GPL.

Latest news available in category xLanguage (WordPress)

778 Responses to “xLanguage (Wordpress Plugin)”

  1. 1
    Alicia Says:

    I get the following error (top all pages) after installing xLanguage:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/../wp-content/plugins/xlanguage/parser.php on line 96

  2. 2
    HelloSam Says:

    I should have it fixed by now. Would you please verify the v1.0.3 for me please? Many Thanks for reporting.

  3. 3
    Alicia Says:

    Thanks. That was the problem… I now have the latest version, and it fixes the problem.

  4. 4
    Tony Says:

    I get a fatal error when activating your plugin,

    Parse error: syntax error, unexpected ‘&’, expecting T_VARIABLE or ‘$’ in /mnt/gs02/herd03/28321/domains/blog.tweedledeed.com/html/wp-content/plugins/xlanguage/xlanguage.php on line 607

    I am running the newest version of your plugin and the newest version of wordpress. Please email me with any idea you may to why this is. Great looking plugin BTW.

  5. 5
    Victor Says:

    The same problem as Tony have. I am running the newest version of your plugin and the newest version of wordpress and get following error “Parse error: syntax error, unexpected ‘&’, expecting T_VARIABLE or ‘$’ in /home/redbridg/public_html/touree/wordpress/wp-content/plugins/xlanguage/xlanguage.php on line 607″

  6. 6
    Victor Says:

    Fatal error: Undefined class name ’self’ in /home/redbridg/public_html/touree/wordpress/wp-content/plugins/xlanguage/xlanguage.php on line 406

  7. 7
    Sebastian Says:

    for me this plugin just doesn’t work. I use the latest wordpress, plugin installs fine, languages set up as described, toolbar shows up, but it doesn’t do anything! any ideas?

  8. 8
    Amir Says:

    Nice plugin. I’m trying to make it work with Hebrew (which is Right-To-Left language). I disabled the auto-detection using browser because my site is mainly in Hebrew and detection doesn’t work well. You might want to add an option to disable auto-detection manually.

    1. After installing I see that the buttons for RTL/LTR paragraph are missing in TinyMCE which makes it impossible to edit a document in both RTL/LTR languages at the same time. I modified tinymce-plugin.js to add an attribute while setting lang like this:

    if (lang == ‘he’)
    {
    e.setAttribute(‘dir’, ‘rtl’);
    }
    else if (lang != ”)
    {
    e.setAttribute(‘dir’, ‘ltr’);
    }
    It’s too buggy in Firefox (affects unrelated elements). I can’t fix this :-( Do you have an idea why those buttons are gone?

    2. For some reason I can’t make it work with the “|” splitter. I has to change to another splitter which works.

    3. Widgets titles and built-in widget titles aren’t affected by translation for some reason.

    4. There’s a need for some function to control translation of themes (with local text)

    5. bSuite and InnerIndex (table of contents) cannot work with this plugin. If you can find a solution for auto-generated multi-language table-of-contents (based on tags) it would be great.

    6. I’m looking for a way to clean multiple tags in TinyMCE. I find myself looking into the HTML code trying to fix the lang tags because it gets too messy in Firefox after working with a document for some time.

    7. Category description isn’t working with the splitter for some reason. It can be used with more than one line but your code checks for “\n” which makes it not work. I had to hack the code like this:
    //if (strpos($content, $this->options['split']) !== false && strpos($content, “\n”) === false) {
    if (strpos($content, $this->options['split']) !== false && ! (strpos($content, “”) > 0) ) {

    I also fixed some other issues with the category description. I use this field for display although it’s not really used by default with WordPress.

    It’s got great potential if you can fix the bugs :-)

    Thanks!

  9. 9
    Amir Says:

    Missing html tags in my last comment:

    5. (based on “” tags)

    6. Correction is like this:
    if (strpos($content, $this->options[’split’]) !== false && ! (strpos($content, “ “” ”) > 0) ) {

  10. 10
    ~ | 临|Leen Says:

    [...] 暂时disable了xlanguage,有一篇一直显示不正常。 我觉得不该用parse xml来作这件事,但我也想不到更好的方法。 var blogurl=”http://leen.name/blog”; var needemail=”"; Name [...]

  11. 11
    HelloSam Says:

    Amir:
    I will try my best to solve the RTL problem.
    Meanwhile, for the plugins/widgets problem, you need to insert the code apply_filters('language', 'this_is_the_text|to_be_translated'); in appropriate place, so xLanguage can filter the content.

    for Theme Translation, you could use the same apply_filters code at this moment. I will expose a shorter template function in the next version.

  12. 12
    Next updates of the xLanguage | 晴朗星空下的網絡 Says:

    [...] The xLanguage plugin have got quite amount of feedbacks. Many thanks to [...]

  13. 13
    Halibutt Says:

    I was hoping this plugin is what I need. Sadly, it seems to be incompatible with several other plugins I use. Notably the pictures added on my main page (pure html with Lightbox2) produce “xLanguage parse error: not well-formed (invalid token):” error. Same error is visible on top of my “contact” page with a nice cforms contact form put there. After I turn xLanguage on, the contact form gets duplicated, and the whole page layout gets messy. Any idea how to make it work?
    Cheers

  14. 14
    monyoking Says:

    Hi,
    after clicking activate plugin I’m getting:
    Fatal error: Call to undefined function: register_sidebar_widget() in http://www.mydomain.hu/testing/wp-content/plugins/xlanguage/plugin.php on line 500
    I use wordpress 2.3.2 and bbsync plugin.
    Any suggestions?

  15. 15
    Amir Says:

    I’ve disabled that “xLanguage parse error” by replacing this line in parser.php

    //$ret = ‘xLanguage parse error: ‘ . xml_error_string(xml_get_error_code($this->parser)) . ‘:’ . substr($this->content, 17);
    $ret = substr($this->content, 17);

    It appeared in my website in various places but it’s harmless as far as I can see.

    Plug-ins compatibility can be a problem. I already edited some plug-in and others I had to disable (bSuit).

  16. 16
    HelloSam Says:

    monyoking: That’s very strange. Because register_sidebar_widget() to the way to get the xLanguage widget. On the other hand, can you use any widget on your sidebar? May I suggest you to double check your installation, in particular, make sure the file wp-include/widgets.php is in place.

    Amir: it’s because the plugins installed doesn’t produce correct XHTML code, but the parser heavily depends on it. If your website can pass http://validator.w3.org/ XHTML1.0 Transitional with xLanguage turned off, there shouldn’t be any problem. I will include a log in the next version to capture the errors, so user can revisit the problem in the log, instead of showing this embarrassing message. :)

  17. 17
    monyoking Says:

    Hi HelloSam, thanks for the fast reply, widgets.php is in place. I can use sidebar widgets, but I’m using k2 theme too, maybe it has something to do with sidebar widgets.

  18. 18
    游弋其中 » 新起点新开始 Says:

    [...] 多语言网站(尚未测试):http://hellosam.net/project/xlanguage [...]

  19. 19
    Tom Arnold Says:

    Mmmh, it seems, that the plugin not only has problem with “invalid” XHTML, but with some kind of characters or gaps in some places too. I can often reproduce Parse errors with the chars “:” or “(” immediately after the Span tag. Can anyone else confirm this behaviour too?

  20. 20
    Igor Says:

    Hi, there is a strange phenomenon after activating the plugin. Some (not all) of my postings are repeatedly displayed.
    Using PHP 4. Any idea?

  21. 21
    HelloSam Says:

    Right. I have receive many reports about the repeat problem and will surely investigate and fixing it in the next update.

  22. 22
    Lai Says:

    Hi HelloSam, nice plugin indeed, works fine with the entry content and category names.
    I am writing you because my posts also use the_meta content, but I can´t find the way to use the splitter or your scripts for the post-meta-key, to make them multilanguage too. Any sugestions will be more than welcome. Thanks in advance. And happy chinese new year!

  23. 23
    Igor Says:

    happy new year too! I like your Godess Quan Yin :-)

  24. 24
    Guillermo López Says:

    xLanguage needs K2 sidebar manager support.

  25. 25
    Empiezo desde 0 | Guillermo López Says:

    [...] no como antes que había uno en inglés (el principal) y otro en español. Ahora, gracias al plugin xLanguage, se puede leer el blog en 2 idiomas, desde los post hasta los [...]

  26. 26
    powersurge Says:

    It’s a great plugin! Just what I needed :)

    It took me a while to figure out how to use “apply_filters” to translate certain theme elements.
    Here is the full code snippet:

  27. 27
    powersurge Says:

    And one more try…


    echo apply_filters('language', 'Author|Автор');

  28. 28
    Joseph Says:

    If it is of any help, I also get repeat but there seems to be a patern.
    example:

    posts original
    Line 1
    Line 2
    Line 3
    Line 4
    Line 5

    then repeats
    Line 3
    Line 4
    Line 5

    then repeats
    Line 4
    Line 5

    Continues till there is no more lines.

    code is (with no tics:
    ‘Line 1
    Line 2
    Line 3
    Line 4
    Line 5′

    No other language/translation in code.

    Thanks great plugin once this kind of thing is worked out

  29. 29
    Joseph Says:

    Sorry,

    I hope the code shows up this time.

    code would include just before line 1 and would have after line5.

  30. 30
    Joseph Says:

    OK lol

    It has the “span lang=…” before line 1 and “/span” after line 5

  31. 31
    tommy Says:

    Hi Sam, thank you for your great plugin! I wanted to ask you, if there’s any possibility to translate the post_name-field (post slug) with the single-line-filter option? thanks in advance… tommy

  32. 32
    Juslin Says:

    Hi Sam, hopefully this will help you to solve the repeat problem. For me it only occurs when the break tag is being use in the content. whenever there is a repeat line i will see </xLanguageP

  33. 33
    Jesse Says:

    I am interested in getting this plugin modified for SEO as well, are you interested in upgrading and fixing the bugs for some $ and at the same time having a better language plugin? Please contact me.

  34. 34
    Announcing xLanguage v1.1.0 | 晴朗星空下的網絡 Says:

    [...] Monday, February 18th, 2008 As I have mentioned in the eariler post, I was working to fix some critical bugs and at the same time putting some more features into the [...]

  35. 35
    Christoph Pfeiffer Says:

    Thanks alot for your plugin!

    One question though: Is there a way to stop the plugins work for a certain page?

    (One page here (a monoslideshow in it) needs a certain url and gets confused handling “/lang/de” or “/lang/en”.)
    cp

  36. 36
    Achmatim.Net ~ Achmad Solichin » Blog Archive » WordPress Multi Language Says:

    [...] This morning, i have an idea. I want to make this site as a multilanguages site. So, i searching for some wordpress plugins. There are a lot of plugins. I am trying to select it. And i get this one. [...]

  37. 37
    HelloSam Says:

    1. The usage guide has been updated, with lot more information, should worth a read. May I also take this chance to ask you to turn on the Feedback system, if you are using > v1.1.0?
    2. There was a deployment bug in v1.1.0 that I should have caught earlier, blocking all new installation. Now fixed.

  38. 38
    xlanguange at bloggraphy of me Says:

    [...] i want o add plugins for myblog, searching this and that and i found xlanguange plugins form wp in here and there. i try to adding the plugins in wp, but when i activated error appeared. i retried to [...]

  39. 39
    John Says:

    when I add relative URL in tags, the it gets confused with “/lang/en”.
    e.g. current url:
    http://www.abc.com/level2/lang/en
    URL in : level2a

    The result turns out http://www.abc.com/level2/lang/en/level2a NOT http://www.abc.com/level2/level2a/lang/en

    Is it any way or settings I can fix it? Thanks.

  40. 40
    Dom Says:

    hi Sam, thanks for this great tool. In my case it does work well, apart from the small icons next to the language names. They show up only for English. If i add other languages, there is error. Any idea what’s the issue here? please take a look at http://www.yeongumaru.com. Thanks. Dom

  41. 41
    HelloSam Says:

    Dom: In the plugin package, it includes a PSD file which is used to draw the English icon. You are feel free to use it and draw the others for yourself as you like. It’s just so hard for me to come up with the design for every languages for every blog :)

  42. 42
    chlori Says:

    Great Plugin!

    I still have one small problem. I use the breadcrumb navigation plugin (http://sw-guide.de/wordpress/plugins/breadcrumb-nav-xt/) aswell. Now when displaying the breadcrumbs, I get this effect: “germantitle|englishtitle” instead of either “germantitle” or “englishtitle”

    Is there a way to solve this problem?
    Thanks!
    chlori

  43. 43
    Entradas en múltiples idiomas en WordPress - Carrero Bitácora de los Hermanos Carrero, David Carrero Fernández-Baillo y Jaime Carrero Fernández-Baillo. Says:

    [...] xLanguage otro plugin muy completo para disponer de tu blog en varios idiomas a la vez, de forma total. [...]

  44. 44
    Ani Says:

    I get this error:

    Warning: fopen(/path/wp-content/xlanguage-parser-19824958371540390088.log): failed to open stream: Permission denied in /path/wp-content/plugins/xlanguage/admin.php on line 134 Warning: fclose(): supplied argument is not a valid stream resource in /path/wp-content/plugins/xlanguage/admin.php on line 135

    It is a new wordpress installation with no other plugins activated.

  45. 45
    Ani Says:

    I have fixed the error by chmod. I think the plugin does not work, because I do not see the toolbar for it when I write. And when I create categories and use | I don’t get different versions when I pick language.
    Here is my test site: http://d21306.u40.imountain.com/?cat=1&lang=en-us

    Thanks

  46. 46
    Volker Says:

    Hi Sam,

    great plugin!
    but… (you might’ve expected this:-):
    how do I manage the tags? I’m using the Configurable Tag Cloud Widget (http://reciprocity.be/ctc/) and like to see the xLanguage also in this tag cloud.

    Thanx in advance!
    Volker

  47. 47
    Timo Says:

    Hello, works just fine now, but you have forgotten the blogroll categorys. Even if i use “|” for splitting english and german, the Categorys of my Blogroll won’t be translated. I always get both languages…

    Thanks, Timo

  48. 48
    Tristan Says:

    Great plug in! But I too am having a few problems with the English tags.

    Cheers,
    Tristan

  49. 49
    HelloSam Says:

    All your comments are heard. Thank you very much.
    Tags is tricky because the way that Wordpress handle it. Please allow some more time for me to find a solution.

    Timo: For the blogroll category, opps I have forgot to add it. This can be fixed in the configuration without upgrading. Please go to the Options tab (3rd one) of the xLanguage options page, then add “,link_category” to the Filter Hooks -> text, then the blogroll will be processed automatically.

  50. 50
    Animan Says:

    “For single line content, please adopt the single line filtering mode syntax.” but I don’t see any examples of how to use this “single line filtering mode syntax”.. can you provide an example please?

    Thank you!

  51. 51
    ben Says:

    Absolutely brillian plugin. I just got version 1.1.5 and it installed and configured like a breeze. I’m using it for an international art gallery — latincollector.com. My question for you is about the dates showing up in the archive selector generated using wordpress’s internal wp_get_archives() call, the months I am getting are not coming back in spanish. I can do a kludge fix for this inline, but was hoping it was something the plugin has already covered.

    Thanks again! Once I get my check for this job I’ll be sending you a paypal contribution.

  52. 52
    Alexander Says:

    Hello Sam
    did it possible adaptive plugin for working with SEO TITLE plugin? http://www.netconcepts.com/seo-title-tag-plugin/
    Like i understand need add filter, yeah? But where? Can you help?

  53. 53
    Alexander Says:

    Another big problem – encoding
    like many other i use UTF-8 encoding for wordpress
    this mean my files in template save as UTF-8 encoding because they have russian text
    So, your plugin output text in ANSI encoding and not UTF, of course last version IE and other browsers understand correct encoding and transform text for correct view but if you look into HTML code you see problem. Of course use not english text – example i have problem with russian.

  54. 54
    HelloSam Says:

    To use with seo-title-tag is easy, In the line that reads,
    … if (function_exists(’seo_title_tag’)) { seo_title_tag(); } …

    Change it to
    … if (function_exists(’seo_title_tag’)) { apply_filters(‘localization’, seo_title_tag()); } …

    On the other hand, xLanguage is not aware of the encoding. It is basically doing thing blindly in ASCII (that’s how PHP work), so any ASCII compatible encoding should work, including UTF-8, which is the default. I am pretty sure Russian is covered by the UTF-8, and if you are not using it, I strongly suggest you to.
    My blog is running in Chinese and English, absolutely no problem. I don’t think Russian can be more complicated than Chinese in terms of encoding. Please let me know if otherwise.

  55. 55
    Alexander Says:

    Ok Sam thanx for SEO title

    Now about encoding;
    look to HTML sourse at [Link removed per request]
    i use editplus editor(editplus.com) for html code and what i see:
    Телефоны SEO компании|How to contact
    But here can be Телефоны SEO компаний|How to contact
    If i disable xlang plugin in html sourse all text and encoding is ok like can be.
    Here is 100% problem with encoding

  56. 56
    HelloSam Says:

    Opps. I think I have made an mistake that you have figured out already.

    For seo-title, you should modify the end of seo_title_tag() functions that apply_filters on the $title variable.
    like echo wp_specialchars(trim(apply_filters(‘localization’, $title)), true)

  57. 57
    Alexander Says:

    Sam, thanx for help with Seo title plugin.

    Here is manual.
    Open seo-title-tag.php and found … echo wp_specialchars(trim($title), true); …(608 line)
    replace to:
    … echo wp_specialchars(trim(apply_filters(‘localization’, $title)), true); …

    Now use | like usually for title

  58. 58
    extvia Says:

    xLanguage plugin has greatly helped me, because I’m writing my blog with Chinese, Japanese, and English. I was looking for a plugin like this, I’ve tried gengo and jLanguage, which are not quite satisfying my task. But xLanguage is far more than I can expect a multilingual plugin can be. It solved all my problem once for all. I can see you are thinking deeply for the user’s need. Thank you so much for creating such a excellent plugion for wordpress.

  59. 59
    sorin Says:

    I really like your add-on but I don’t understand one thing: how do I see only the articles available in the selected language. I wrote in two languages but I think it is not quite a good ideea to show all posts for all languges.

  60. 60
    HelloSam Says:

    Sorin, I am afraid I have to disappoint you. xLanguage cannot do that, and there is no plan in implementing that yet. It need a very great effort to implement–

  61. 61
    Falk Koziol Says:

    Hi Sam,

    first of all I have to shout out a big THANK YOU for this great plugin! It really fits my needs for multilingual blogging best. Donation will be on the way soon.
    With the instructions you gave I was even able to hack the built-in plugins (Meta, Categories, etc.) in wp-includes/widgets.php to become multilanguage. Is there a more generic call to the widget-title somewhere in the plugin-system, so one doesn’t have to add it to every single widget title?

    There only remain two problems:
    1.) I am using the plugin ‘TinyMCE Advanced’to activate the advanced capabilities of TinyMCE. Unfortunately I can’t add anything to the 2nd toolbar, because then the xLanguage buttons will be wiped out and will only come back when I de-activate and re-activate the TinyMCE plugin.

    But that’s only a minor point, more interesting is:

    2.) Whatever I do, I can’t get the_date() to be multilanguage. If I deactivate xLanguage and set ‘WPLANG’ in wp-config.php, my monthnames are converted. With xLanguage activated, all language-specific date- & time-settings are ignored, the ones under Options->General always take precedence. I experimented with the filter hooks for xLanguage and by trial-and-error I can confirm that they do what they are supposed to. EXCEPT date_format and time_format which are hooking to pre_option_date_format (pre_option_time_format respectively), I can do with them what I want, nothing changes. Adding the_date() and the_time() as hooks anyplace else also doesn’t solve it. I also tried to this in my index.php:
    filter_actions(‘localization’,the_date());
    but to no avail.
    I am suspecting, that since the generation of the date/time is done via a PHP-call, one needs the proper locales server-side.
    More so, because the ‘WPLANG’ translation seems to come from a language specific MO file.
    I wil further investigate this and would be happy about any feedback from your side.

    Keep up the good work!

    Cheers, Falk

  62. 62
    Thomas Says:

    Hi,
    first, thanks for thsi great plugin. But i have a big problem with it. When trying to include so Flash-Content to a post, the xLanguage-Plugin does not work any more. Is there a known issue while combining flash content with the xLanguage Plugin? Is there a workaround to fix this?

    Thanks
    Thomas

  63. 63
    LGW Says:

    Hi there,

    great plugin. Works like a charm, setup was easy and the documentation is well-written.

    But I’ve one question: I’d like to use a localized version of the kubrick theme (german). For this, I downloaded the localized version of the kubrick theme from de.wordpress.org, uploaded it, and switched from the normal kubrick theme. Thing is, as long as the xLanguage Plugin is activated, the localisation of the german theme seems to be broken. As soon as I deactivate xLanguage, localisation kicks in.

    In the category template (where I started to search for the problem), I noticed this difference:

    normal template:
    Archive for the ‘’ Category

    template with localisation:

    the __( function should be part of the gettext framework that is used by Wordpress to translate the contents, but I don’t have any clue how this could interact with xLanguage. Any ideas?

    Of course I could “simply” translate the whole theme again, but I’d rather like to use the already translated templates, which would save me a lot of time.

    with best regards,
    Lars

  64. 64
    LGW Says:

    sorry, looks like the example code got broken. Another try:

    normal template:
    <h2 class="pagetitle">Archive for the ‘<?php single_cat_title(); ?>’ Category</h2>

    template with localisation:
    <h2 class="pagetitle"><?php printf(__('Archive for the ‘%s’ Category', 'kubrick'), single_cat_title('', false)); ?></h2>

  65. 65
    Animan Says:

    Hi, Sam! I’m curious.. I want my date/timestamps to output from the database in the respective language.

    what is the best way to accomplish this?

    how can i get your plugin to call setlocale() for the approriate language?

  66. 66
    HelloSam Says:

    Wow. Here I get a 4, 5 replies in two days about WP_LANG, SetLocale, MO file, __(…) issue. I have to admit that it’s one of the weak area not being tested well, so sorry for the trouble caused.

    This plugin is planned and designed to be compatible and actually work well and integrated smoothly with the MO translation, including the month and year date localization. But from the feedback, it turns out it doesn’t work expected. I am sorry that my schedule is a bit tight over this week, but I will surely look into these problems over the weekend to have it solved.

    Stay tuned!

  67. 67
    Falk Koziol Says:

    Hi Sam,

    there’s definitely no need for apologies :-)
    You put a fair amount of work into this plugin & right now it is the best at the task of multilanguage blogging in Wordpress. I also have to salute you for the extensive commenting of your code, although I only took a quick glance at it. Right now my priority is finishing the hacking and themeing of my own Wordpress installation (including the attempt to add more formatting options to PHP SmartyPants, underlying of wp-typogrify), but when I’m finished I am more then willing to help you out with any feedback and testing I can provide.

    Cheers, Falk

  68. 68
    Animan Says:

    How do I get xLanguage to convert a WP Page?
    I wrote my WP Pages in total as a regular php/html page and made them into WP page templates.
    In WP, i just created blank PAGES with the approriate php page

    if you can imagine it’s a few hundred lines of nested divs, tables, and what not. Two copies pasted one above the other: one French, one English.
    they have the tags and around the entire nested div structures. like this:

    french>
    french>

    english>
    english>

    but it doesn’t do the trick!
    how should i be using this?

  69. 69
    Animan Says:

    Hi Sam

    I found a workaround for the_date();


    setlocale(LC_ALL, 'fr_FR.UTF8'); //french
    echo strftime( '%A, %D', strtotime(the_date('Y/m/d', '', '', FALSE)) );

    lol. it works.

    of course, you decide how you want strftime to do it’s thing.
    i haven’t investigated fully as yet but you may have to use the single line filtering mode syntax to get the date to display grammatically correct for both languages.

    if i knew how to ask what the current language was I would do something like this in my header:


    if (currLanguage == french){
    setlocale(LC_ALL, 'fr_FR.UTF8','FR') //english
    }else{
    setlocale(LC_ALL, 'en','EN') //english
    }

    how can i test for the current language?

  70. 70
    James Says:

    Hi,
    Falk Koziol hinted that he was able to modify the widgets.php file. You would’nt by any chance have an example you could share?
    Cheers
    James

  71. 71
    HelloSam Says:

    Falk made a several attempts in posting the comment. I must thank for his effort. But because the system messed up his code somehow, I deleted his comment post on his request.

    Animan: use xlanguage_current_language_code(). See xlanguage/template.php for details. (Well, there isn’t many details..just call it and it returns the current lang code)
    James: You might want to look at the Page 4, Widget Title Customization. It should have everything you needed.

  72. 72
    James Says:

    Hi
    Just wanted to thank everyone who took the time to reply. The explanations were clear and I was able to update my widgets.php file without breaking my site!
    Cheers again
    James

  73. 73
    ash-ray Says:

    Hello Sam..i have some problems installing this plugin..

    i’am using wp v2.3.3

    when i want to activate this plugin in the admin screen, it is written “Warning: fopen(/home/a5519167/public_html/wp-content/xlanguage-parser-11270409371712294128.log) [function.fopen]: failed to open stream: Permission denied in /home/a5519167/public_html/wp-content/plugins/xlanguage/admin.php on line 135
    Warning: fclose(): supplied argument is not a valid stream resource in /home/a5519167/public_html/wp-content/plugins/xlanguage/admin.php on line 136″

    what’s goin on here sam? could you tell me how to fix this problem? thank you very much..

    waiting for your reply

  74. 74
    LGW Says:

    @ash-ray: I had the same problem. You can solve it by changing the write access of your wp-content directory, making it writable for the web server.

    1. with ssh access:
    cd /path/to/your/wordpress/directory
    chmod a+rwx wp-content

    2. with your ftp program: there should be a possibility to change access rights; there would be rights for read/write/execute
    for the user, groups, and others. You would need to set all three rights for all three groups. It would be a good idea to do that NON-RECURSIVE, meaning you only change the directory itself, not all the files within

    This should be considered a workaround, as it might not be a good idea to give write access to that directory in general, but it works. Maybe HelloSam can give you a better/securer solution. (I ran into the same problem, btw)

  75. 75
    Antoine Says:

    Hi everybody,

    Thank you for this interesting plugin, after trying it a little while, I get used to it now.

    As anyone (like me) also tried the wordpress 2.5 release ? I have just did it and have a little trouble in the admin part : I cannot see the xLanguage toolbar when writing a post.

    Do you have the same problem ? Would you have a little hack to get it back ?

    By the way, Sam, if you are in Beijing at the end of the Olympic Games, we’ll be finishing our Paris to Beijing trip by car, we will welcome you ;-)

    http://challengelogan.free.fr

  76. 76
    bio Says:

    I’m having the same problem:

    I cannot see the xLanguage toolbar when writing a post.

    Any one have the solution?

    Thanks for the plugin!

  77. 77
    Antoine Says:

    If anyone has a solution please tell us ;-)

  78. 78
    ash-ray Says:

    Thanks LGW for your instant reply..^_^

    You helped me, my problem was solved :)

    but, i have another problem, same with Antonie and Bio, I cannot see the xLanguage toolbar when writing a post..

    i need your help buddy, how to fix this problem..

    Thank you very much

    regards,

  79. 79
    HelloSam Says:

    It took longer then I expected to make xLanugage to be compatible with WP 2.5. As they have upgraded the TinyMCE from v2 to v3, the whole thing and API is just gone. Anyway, here it is! I didn’t do a full blown test on it yet so be sure let me know if you have catch any functionality bug on WP 2.5. At the meanwhile, the interface surely need some adjustment.

    Because of that…I havn’t looked at the date_time, locale problem yet. I will take care of this ASAP. Sorry to have you waited.

  80. 80
    extvia Says:

    Bug report:
    After I upgraded to version 1.2.0, the visual editor was disappeared.
    Before that in 1.1.5, it’s fine just without xLanguage buttons.

  81. 81
    extvia Says:

    Add some information:
    The bug happened in WP2.5, browser is Firefox 3.0 beta5pre
    Visual editor disappears when xLanguage is enabled.
    Works fine in Opera and other browsers ,though.
    Could be a bug of Firefox :b

  82. 82
    extvia Says:

    There is another thing that bothers me is that:
    When I deactive and re-active xLanguage again (like plugin automatic upgrade is WP2.5), the permalinks will be broken, and all contents with “lang” in the URL will become 404. It can be recovered by deleting all languages information, and input them again.
    Not a serious problem, but please have an eye on it when you have time.

    And a question:
    Would you please to tell me how can I make xLanguage to filter the content when I’m using self-edited PHP and text and HTML widgets OR K2 sidebar module? I tried to input contents with language span tag but it won’t work. Only the title works, not with”|” but with span tags. It’s confusing me. ^^b

    Thank you for updating this plugin in first time when WP is upgraded. And please take your time. Good luck.

  83. 83
    Ola Says:

    extvia: I had the same problem, but it was solved by rebuilding the permalink structure. I did not have to delete any language information. I did however loose the language buttons in the editor, and have not been able to recover them as of yet.

    Thank you Sam for a nice plugin

  84. 84
    HelloSam Says:

    Two bugs fixed: the JavaScript and Permalinks problem. Could someone check with Firefox 3 for me? :)
    the IE7 coloring has been broken though…I have yet to trace when was it broken.

  85. 85
    extvia Says:

    Permalink : OK
    TinyMCE under Firefox 3.0 beta 5 : OK
    Filter works fine widgets, so I use widgets instead.
    Thank you very much for the quick respond!

  86. 86
    werner Says:

    hi, have you ever thought of including the famfamfam flags into your plugins? have a look here: http://www.famfamfam.com/lab/icons/flags/
    i think i’m giving you’re plugin a try since jlanguage seems not to be updated anymore.
    werner

  87. 87
    Peter Says:

    I want to make this plugin work.
    Perhaps I have a conflict with another pluging? (My setup is quite clean.)

    On the first install, I was able to set the first language. Then something went wrong (??) and I can no longer change the setiings in the Admin panel (for the xLanguage).

    No longer anything is being written to the database. (I deleted the first entry in hopes of re-installing it.)

    Would gladly send you some beer money.

  88. 88
    Peter Says:

    OK, I did make it work, but somehow I had to install WP-SuperCache first.

    Thanks for the awesome plugin. As promised, I just bought you a beer. Cheers, yum bui.

  89. 89
    Hallvord R. M. Steen Says:

    I’m having some odd parsing problems with xLanguage using WP2.5 and latest xLanguage. Trying to add a Japanese translation of a post causes a parsing error, but I’ve reviewed the source many times and it’s perfectly valid (and very simple) XHTML. The error details do not point to a tag but shows odd characters that are not in the text, so it looks more like an encoding problem but I don’t know WP and xLanguage well enough to really start investigating it from that angle.. Any help?
    (sorry to not point you to the blog, it’s meant to be for the family only)

  90. 90
    HelloSam Says:

    The bug that caused the_date(), the_time() the working is fixed. More details in the tutorial page.

  91. 91
    Animan Says:

    Hi, Sam

    Any ideas where I can find a US English .MO file?
    I’ve tried looking everywhere. I thought maybe you know where I can find one.

  92. 92
    James Says:

    Hi
    I update the plugin to the latest version and get the following error on my widget page: %BEG_OF_TITLE% %END_OF_TITLE% in place of where the list of widgets should appear.
    If I deactivate the plugin I do not have the error
    Tks
    James

  93. 93
    Luca Says:

    Hi! Quite perfect and useful plugin.

    How can I make Xlanguage compatible with Cforms ][ (http://www.deliciousdays.com/cforms-plugin/) plugin?
    I did not find the codes you mentioned in Filter Hook Section.

    Thank you,
    Luca

  94. 94
    Daniel Says:

    I’m trying to make this work. I created french and english. I tried using the | to write wome french|english parts but I can’t test the english part.

    Am I suppose to see some link or dropdown list on my site which offers the reader two languages?

    Guess I’m missing something hehe.

  95. 95
    HelloSam Says:

    Daniel, you will at the very least add the xLanguage widget to your sidebar. :)
    Then you might want to do some theme customization as mentioned in the usage guide (2).

  96. 96
    Guillermo Says:

    I use wordpress 2.5 (downloaded it today) I am trying to make xlanguage to work. I have activated the plug-in and added two languages. When I create a new post nothing appears, there is nothing extra in the tool bar. I think that I followed the instructions, but, obviously I have done something wrong.

    Do I have to add .MO files at all?

    The only thing I want is to have the possibility to write the post in three languages, and the possibility of the reader to switch to the one it suits them better.

    I hope someone can give me a hand, thanks in advance.

    Sam, do you have Paypal?

  97. 97
    Daniel Says:

    I still can’t figure out how to “add the xLanguage widget to my sidebar”. Do I have to edit some of the Word Press source files?

    Sorry if I sound noobie… in fact I am ;)

  98. 98
    Evolving Blog » xLanguage: A WordPress Language Manager Plugin Says:

    [...] an existing CMS is a difficult thing, since there are so many text-based elements to deal with. xLanguage provides a simple method for posting multilingual content. The user writes all the content into one [...]

  99. 99
    LeSombre Says:

    Like Guillermo, I also upgraded to 2.5, and the xLanguage toolbar doesn’t show in the “create new post” window.

  100. 100
    LeSombre Says:

    Well I’ll be darned. It wasn’t working with FF this morning, and I tried IE7 and it worked. Now it also works with FF. Weird, but as long as it works I’m happy!

  101. 101
    neo21 Says:

    Hi

    your wp plugin looks great. i have been experimenting with it and i was wondering if it is possible to set the language to be shown like this:

    “domain.com/lang/en/content.html”

    instead of:

    “domain.com/content.html/lang/en”

    …would contribute if this is possible ;-)

  102. 102
    goliatone Says:

    Hi there,
    first of all, big kudos on the plugin you released. Its great!!

    Im looking at the files, and i cant seem to find WidgetHelloSam, which widget extends… could you tell me where i could find the file? I do get an error sometimes where such file couldnt be found…

    regards.

  103. 103
    Dexter Says:

    Man, your plugin works great.

    It took no time to change from polyglot to xlanguage :D

  104. 104
    Igor Says:

    Hi,

    I love your plugin a billion!! Unfortunately the single line filtering mode doesn’t work with “Wordpress Navigation List Plugin NAVT”

    –> http://wordpress.org/extend/plugins/wordpress-navigation-list-plugin-navt/

    Many greetings
    Igor

  105. 105
    lenaluna Says:

    can you combine xlanguage with a dropdown menu plugin?

  106. 106
    Fabri Says:

    Hallo there, thanks for plugin.

    I’m trying to use last version of xlanguage on wp 2.5.

    I can correctly add languages and tag content but on the pages / post I can’t see any way to change language…can you help me?

    Best regards.

    Fabri.

  107. 107
    Fabri Says:

    Sorry I had to add Language list.

    Here is an issue: If I write a page and correctly tag it into my 3 langs I cannot set it as “Front page displays” as a static page.

    When I surf http://www.mydomain.com the language list is “www.mydomain.com/?lang=en” and “www.mydomain.com/?lang=fr” and “www.mydomain.com/?lang=it” but when I click on one of these links, I get “Not Found Sorry, but you are looking for something that isn’t here.”

    Any help appreciated.

    Best regards.

  108. 108
    Kamal Says:

    @Fabri

    Click on Settings in the Dashboard and select PermaLinks. Make sure that the “Default” option is selected. I have noticed that if I change it to anything other than Default I run into the same problems you are describing. Hope this is helpful.

    Kamal

  109. 109
    Niki Says:

    Hi,

    Just came across your mod. It definitely looks great, and I’m planning to use it. But I was just wondering if your latest version is also compatible with version 2.51 of wordpress. On the wordpress plugin website it says only compatible to wordpress 2.5.
    Hope to hear something from you soon.

    Thanks again for offering such a wonderful mod. Keep up the great work :) .

  110. 110
    jc julien Says:

    Hi !

    Thank you very much for your work and great plugin. I found it very usefull and flexible.

    I don’t seem to find a way to make it work for the text widget aereas, (I wnt this free text I put on the sidebar to be localised as the rest of the blog). is there any way to do this ?

    Thank you very much in advance

  111. 111
    Niki Says:

    Found another interesting plugin, which you might want to consider to copy some features from:
    http://www.qianqin.de/qtranslate/

    Instead of tagging the language in the text box. Why not make tabs so each has its own input box for the language? See the example in the mod I mentioned above.

  112. 112
    Fabri Says:

    @niki:

    qtranslate has lot of javascript errors on wp 2.5

  113. 113
    Amir Says:

    There’s a bug making posts show both languages at the same time. It’s caused by the following phrases:
    *p align=”center”**/p*
    OR
    *p align=”right”**/p*
    OR
    *p align=”left”**/p*
    (replace the * with appropriate brackets)

    I had to mass replace them all using SQL and problem was solved. It happens when there’s no text between the opening “p” and the closing “p”. TinyMCE sometimes generates them so it can be a pain if you don’t know how to deal with it. I’ve just had some time to upgrade to v1.3.0 (not fixed) You’re doing great work here Sam.

  114. 114
    HelloSam Says:

    Thanks for reporting and the comments.

    I will look into the bugs you guys reported but I am afraid it might take some time.

  115. 115
    Morgan B. Says:

    Hi Sam,

    Great plugin! My only question is if there is any way that you can tag a whole Post so that the Post will not show up at all if another language then the one that the Post is written in is selected? For example, lets say that I have English and Spanish on my site. I write a Post and tag the text/html in it as English. Then I do not want that Post to show up at all if I have Spanish selected as current language. Is there any way to do this at the moment or will I have to add some kind of php-parser that checks if a post contains the current selected language? Is it only me missing something? Or if not, do you have any hints on how I could solve my problem?

  116. 116
    Igor Says:

    Hi Sam,

    while using Static Page with xlanguage, WP tries to load the post instead of page after clicking on the dedicated page link.

    With Version 1.2.4 it works fine.

    Thanks,
    Igor

  117. 117
    Marc Says:

    Hi There,

    First of all, great work that you’re doing!
    I’m trying to use your plugin but I’ve come across to some issues and although I’ve read your guide many times, I can’t figure that out.

    2- My template has the following code to create the menu:

    <li class="current_page_item" ><a href="/">Home

    How can I change the “Home” option if it is hard coded? This option is not coming from WP so I can’t use the plugin as the guide describes.

    Thanks and any help is appreciated.

    Marc

  118. 118
    Stef Says:

    Hi Sam

    I’m trying to set up a bilingual blog (welsh and english) and your plug in looks like its going to be invaluable.

    I’ve installed the plugin and amended the theme to include the language choice in the sidebar, but I’m a little confused as to how to get a different template to display according to the language selected. I’m guessing that I build this into my theme, with different header and footer files for each language. I can put those together, but how do I get Wordpress to identify the chosen language?

    Any help would be much appreciated.

    many thanks

  119. 119
    Marc Says:

    I think I have the same question as Stef.
    The WP theme that I’m using has some words hard coded for example, take a look at the right hand side nav with the tabs:

    http://freshnews.premiumnewstheme.com/

    How can I translate the tabs (Popular, Comments, Featured, Tabs) ?

    Should I create a diff theme with the words translated for each language?

    Thanks!

    Marc

  120. 120
    Stef Says:

    Hi Sam/Marc

    I thought I’d found a solution – putting an if/else statement into index.php, page.php etc in the theme:

    if (xlanguage_current_language_code("cy")) {
    include (TEMPLATEPATH . "/headerc.php");
    }
    else {
    include (TEMPLATEPATH . '/header.php'); ;
    }

    so headerc.php would be the welsh version of the header. This worked once but then gets stuck on one language version – the welsh one in this instance. I’m sure there’s a better way of doing it, but my php skills are a bit rudimentary.

    Any help would be much appreciated.

    Thanks

  121. 121
    Marc Says:

    Hi There,

    I used this on my header:

    It works and I hope I could be helpful...

  122. 122
    HelloSam Says:

    Hi Stef,

    There are several approaches for localizing theme:
    1. If it’s just word changes, or some other minor phrase, the best way would be obtain the .MO files from the theme author to do the translation in the WP’s way. (See WP document for more details about the localization support). xLanguage in this role is to select the correct language depends on user’s language selection, so that the correct MO file will be applied and presented.

    2. Your approach is Okay too. the code should actually be if (xlanguage_current_language_code == "cy") { ... }

    3. If there is lot of changes, the best way would be create two (or more) independent themes, that’s it, a whole new theme with their very own folder. Then in the “Advanced” options of xLanguage, you can choose to use assign that theme for a different language.

  123. 123
    Stef Says:

    Hi Sam

    Thanks very much for getting back to me. I’m clearly going to have to buy you a lunch or two.

    Your third option – to create two separate themes, one in each language – worked perfectly. I’d missed that in the documentation so thanks for the pointer. Option 2 didn’t seem to work even once you’d cleaned up my terrible php – I have a feeling it has to do with the info generated by header.php being held in cache, but I could be wrong.

    The other problem I have is that the site is a mix of pages which are generated by Wordpress and pages which sit outside of WP. On the ones which sit outside of WP I include a couple of bits of info from WP – list of current news, list of pages etc so I use

    on those pages I’m getting an error:

    Warning: Cannot modify header information – headers already sent by (output started at /home/site/public_html/index_1.php:4) in /home/site/public_html/news/wp-content/plugins/xlanguage/xlanguage.php on line 222

    A search on Wordpress reveals that these errors are often caused by spaces in php files, but that doesn’t seem to be the problem here. It seems that xlanguage is trying to modify the header info, to set/read the cookie.

    Is there any way of getting around this?

    Thanks again

  124. 124
    John Lancaster Says:

    Hi Sam,

    Do you know if there is any incompatibility between the xLanguage plugin and WP MU?

    Thanks and keep the good work!

    John Lancaster

  125. 125
    HelloSam Says:

    I just tried to do something in 1.3.2 to store the parser log in user’s folder. And because xLanguage does not modify DB schema, I believe it’s safe to use in WP-MU now, although I didn’t test yet :) .

    Please let me know if you have deployed it.

  126. 126
    Eduardo Says:

    Hey,
    maybe it’s because of wordpress’ new version, but on top of my admin page, i get:

    Warning: fopen(//wp-content/uploads/2008/05/xlanguage-parser-1618593827213996771.log) [function.fopen]: failed to open stream: No such file or directory in /wp-content/plugins/xlanguage/admin.php on line 141

    Warning: fclose(): supplied argument is not a valid stream resource in /wp-content/plugins/xlanguage/admin.php on line 142

    Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/xlanguage/admin.php:141) in /wp-content/plugins/xlanguage/xlanguage.php on line 222

  127. 127
    Igor Says:

    Hi Sam,

    after checking the 1.3.2 version and the going back to 1.2.4 i am getting following message ont he top of the page:

    Warning: fopen() [function.fopen]: Unable to access /domains1/ws504100/public/www_root//domains1/ws504100/public/www_root// in /domains1/ws504100/public/www_root/wp-content/plugins/xlanguage/admin.php on line 134

    Warning: fopen(/domains1/ws504100/public/www_root//domains1/ws504100/public/www_root//) [function.fopen]: failed to open stream: No such file or directory in /domains1/ws504100/public/www_root/wp-content/plugins/xlanguage/admin.php on line 134

    Warning: fclose(): supplied argument is not a valid stream resource in /domains1/ws504100/public/www_root/wp-content/plugins/xlanguage/admin.php on line 135

    Any Idea wat went wrong?
    If I stay on Version 1.3.2 it works, but ofcourse other thing does not work than. So I am compeled to use the old Version 1.2.4

  128. 128
    igor Says:

    Hi Sam,

    is it possible to uninstall xLanguage completely just to start from the very beginning? Where do you save all the pre settings like the title for the widget?

    Thanks,
    Igor
    PS I miss my other posting I published today.

  129. 129
    Simone Brunozzi » Blog Archive » This is a post in two languages… I hope! Says:

    [...] testing xLanguage, a plugin for Wordpress. If it’s working ok, you should see this text in english, and nothing [...]

  130. 130
    Igor Says:

    Hi Sam,

    I still experince the static homepage bug in the version 1.3.3.

    Thanks,
    Igor

  131. 131
    ovidiu Says:

    hi there,

    as I am still looking for the perfect plugin to use, could you also compare to this plugins please:

    http://wordpress.org/extend/plugins/qtranslate/#post-4547

    and this:

    http://www.poplarware.com/languageplugin.html

    thank you very much.

  132. 132
    St Louis Missouri News Says:

    Nice plugin i am also still looking if anyone has other examples?

  133. 133
    lupu Says:

    My blog give me an error, but only in the english version (the default is the spanish)

    Fatal error: Cannot redeclare mw_recent_comments() (previously declared in /home/s03370b1/public_html/blog/wp-content/themes/redie-30-es/functions.php:7) in /home/s03370b1/public_html/blog/wp-content/themes/redie-30-en/functions.php on line 131

    links:
    spanish: http://www.drlupu.com/blog/lang/es/productos
    english: http://www.drlupu.com/blog/lang/en/productos

  134. 134
    HelloSam Says:

    lupu: Please check the theme code and make sure they are totally separated. i.e. you didn’t hardcode any include path.
    ovidiu: xLanguage is a direct successor of LanguageSwitcher. qTranslate handle it differently, I also doubt if it needs to modify the DB schema.
    St Louis Missouri News: What kind of example you are looking for?

  135. 135
    lupu Says:

    Hi HelloSam, I have fixed it, the problem was that I use the same (but different folders) theme for the two languajes, and it get some functions declared two times. (I deleted the functions from the non-default theme functions.php and now its working 100%)

    Now, I have a question. Can we get the widgets titles translated?

  136. 136
    Benjamin David Says:

    Hi Sam and great work with this plugin ! I’m using it on multiple WordPress websites. I’m working on having a multilanguage tumblr (i’m using their Api) and would like to use your parser just to strip the html tags that don’t have the good ‘lang=”en”‘ language set. I tried to player with parser.php but it didn’t give anything. I tried tu user the filter() function but couldn’t find what to put in the third argument.

    I was wondering if you could give me an idea how to use your parser in the right way ?

    Thanks a lot !

  137. 137
    Duarte Nunes Says:

    Great plugin Sam, thank you!
    Id also like to ask if you could tell me what is the php code to call the xLanguage on the theme without using widgets.

  138. 138
    Amir Says:

    Hi Sam,

    There seems to be a problem with month names. For some reason they always appear in their English form when viewed in post’s dates, comment’s dates, etc.

    When xLanguage is disabled WordPress takes these variables from the .mo language file which defines ‘January’, ‘February’, ‘March’, etc. as strings that can be translated. This ability is lost with xLanguage. Any idea why this happens?

  139. 139
    Evolving Blog » WordPress 2.5 Says:

    [...] websites including recykinfo.com and artdecomontreal.com. As I’ve written about recently, the xLanguage plugin was a great replacement to Gengo, it seemed more flexible, not relying on edits to the database and [...]

  140. 140
    Amir Says:

    Inconsistencies of locale code with localized versions of WordPress: Most if not all WordPress localized versions are using the underline “_” instead of the hypen “-” for their .mo and .po files. This is a serious problem because xLanguage doesn’t allow them (only the form of xx-xx and not xx_xx).

    Examples: French: fr_FR, German: de_DE, Swedish: sv_SE, Italian: it_IT, etc.
    For xLanguage you must use fr-fr, de-de, sv-se, it-it, etc.

    Why is that a problem? Because you can’t use the same translation .mo file for both Admin Panel and your website. The Admin Panel is looking for the locale defined by the WordPress locale (“fr_FR” -> “pluginName-fr_FR.mo”). Your front-end website is looking for the locale defined by xLanguage (“fr-FR” -> “pluginName-fr-FR.mo” or worse “fr” -> “pluginName-fr.mo”).

    pluginName-fr_FR.mo isn’t the same as pluginName-fr-FR”. This is a serious problem for all localized WordPress versions that follow the WordPress guides. It’s true that the the correct format is xx-xx but why not support the current guidelines of WordPress itself?

    I really hope I’m missing something. This is a great plugin but I’m stuck now when I want to extend an existing localized WordPress without changing its locale from xx_xx to xx-xx and thus eliminating the possibility of smooth upgrades in the future.

    I would like to see something like this on the website: “http://www.website.com/lang/fr” representing French language, while the real locale is “fr_FR” according to localized WordPress guidelines and while the xLangauge locale for Browser detection is “fr-FR”. All of these must be defined as one language. Is it possible?

  141. 141
    HelloSam Says:

    Amir, thanks for the insightful comment. I have filed a bug to myself. But please don’t expect it would be in very soon as I am quite busy in the following week.

    At the meanwhile, may I suggest using softlink (the “ln -s” command) to link the MO file. Of course, this would only work when you have shell access to your host.

  142. 142
    gonetil Says:

    can you compare it with qtranslate, please?
    thanks.

  143. 143
    daniel Says:

    I read the usage guides a couple of times and still don’t get how I can make a post in TWO languages… could you clear this up?

  144. 144
    Eugene Villaluz Says:

    When I am inside Language (Advanced) and try to add fallback, when I submit the Update Languages button this is the response:

    Fatal error: Call to undefined function: array_combine() in /wp-content/plugins/xlanguage/admin.php on line 617

    What kind of problem is this and what can I do to fix it?

  145. 145
    HelloSam Says:

    Daniel:
    Read the first page, first section of the xLanguage settings. It has a screencap about the toolbar that you should see when you write the post.
    Given that you have add some Languages already, Go back to “Write Post” mode, you should see that xLanguage toolbar. If not, please clean your browser cache.

    Eugene:
    Opps. It’s a bug. I have used some PHP5 only function there. Thanks for the report.

  146. 146
    Daniel Says:

    yes I see the tab
    Let’s say i write the text “blah” how do i get that text to be in two languages. I tried by just tagging the german version in german… but I dunno both versions show up under en-us.

    I’m probably just missing something small, but I just can’t figure it out…

  147. 147
    Eduardo Says:

    Are you using a browser other than firefox or ie? I know with safari for example you get this problem.

  148. 148
    HelloSam Says:

    Daniel, if you don’t tag the text, then that text would be visible in all languages.
    Of course, I think you know that already, xLanguage is not an autotranslator.

  149. 149
    Daniel Says:

    Heh, yes I know that. :) (Both of that)

    I’ll try to explain my predicament once again.

    I tagged it GERMAN, and it showed up in the eng version.

    Now how do I get topic “BLAH” to show up in both languages? Maybe WE are having an language barrier. ;)

  150. 150
    Daniel Says:

    how come the German text shows up in the english version??? … ughh

  151. 151
    Eugene Villaluz Says:

    @Daniel

    I saw the same problem when I setup a client web site (lomilomihanalima.com). Last night, I discovered that when I changed the parser and toolbar mode to brackets things worked as they should.

    Apparently, the theme I used was not XHTML clean.

    Aloha,

    .. ev ..

  152. 152
    ödev ders öss sbs Says:

    Thanx

  153. 153
    Benjamin David Says:

    Anyone, an idea ? I posted a message some time ago, I was wondering if it was possible to strip the html tags that don’t have the good ‘lang=”en”‘ language set. I tried tu user the filter() function in parser.php but couldn’t find what to put in the third argument.

    I was wondering if you could give me an idea how to use your parser in the right way ? I’d just like to put away the other languages that are in my string variable :)

    Thanks a lot !

  154. 154
    HelloSam Says:

    Daniel: To verify if it’s the parsing problem like Eugene said, try to start a totally new post and see if the tagging works. Secondly, please check the “Parsing Log” in the xLanguage settings page to see if there was any error. Though, the xlanguage does not parse the theme, so it doesn’t matter if the theme is xhtml compatible or not.
    Benjamin: You might want to use “apply_filters(‘wp_localization’, ‘your_text_in_lang1|your_text_in_lang2, or even your HTML text’)”, then xLanguage will apply the same filtering logic on those text.

  155. 155
    Daniel Says:

    @ EUgene -”I changed the parser and toolbar mode to brackets things” – as in “[]” ?
    Parser log:
    http://richmond-seducers.com/lang/en-us/ mismatched tag
    http://richmond-seducers.com/lang/de/ mismatched tag
    mismatched tag
    not well-formed (invalid token)
    I have no idea what this means…

  156. 156
    igor Says:

    Hi Sam,

    did you get my message regarding FTP-Root?

    thanx,
    Igor

  157. 157
    Redesign IV | 6pounder(dot)com - digital & printdesign - portfolio of rené stalder Says:

    [...] One SEO Pack, Different Localization in Front- and Backend, Google XML Sitemaps, PXS Mail Form and xLanguage. Hours of work: Too [...]

  158. 158
    Admin Says:

    As we try to activate the plug in we are getting the following error messages:
    Warning: fopen(/var/hsphere/local/home/user/website.com/wp/wp-content/uploads/2008/05/xlanguage-parser-15490940491815403855.log) [function.fopen]: failed to open stream: Permission denied in /var/hsphere/local/home/user/website.com/wp/wp-content/plugins/xlanguage/admin.php on line 141

    Warning: fclose(): supplied argument is not a valid stream resource in /var/hsphere/local/home/user/website.com/wp/wp-content/plugins/xlanguage/admin.php on line 142

    How we can fix this ?

    Best regards,

  159. 159
    Christopher Says:

    I’m getting the same error as “Admin”

  160. 160
    HelloSam Says:

    For that problem, make sure the uploads folder is writable by your web server, which usually (but not always) means changing the permision of the uploads folder to a less secure settings – “chmod 777″.
    If image uploading works when you do blog posting, you should not hit this problem. Let me know if this is not the case.

  161. 161
    Christopher Says:

    hi, I reinstalled the plugin and I checked the permissions and I don’t get that error message anymore upon activation. I set up two languages English and Spanish. When I try to open my site, I automatically get redirected to the signup page (I’m using WP-MU 1.5.1) people end up at the signup page when it would be a 404 error on regular Wordpress. When I try to go to a post I notice that the prefix is added. One problem is that I can’t find a en-us mo file. Even when Spanish is the default I keep getting redirected. I’m using custom permalinks with the post name.

    What do you recommend I check first?

  162. 162
    Christopher Says:

    FYI – I’m also using Supercache

  163. 163
    HelloSam Says:

    Hi Chris,

    Please test the xLanguage with the SuperCache turned off first. Only try it after everything is working.
    And I still don’t get your problem. Can you list out 1) the URL you have tried, 2) the expected result and 3) the actual result?

    Also, please leave the comment with a valid email address so that I can follow up with you with email. The one that you have left doesn’t seems to be valid. Thanks.

  164. 164
    Eugene Villaluz Says:

    Sam,

    I’m run into a roadblock on a site I’m working on: http://www.lomilomihanalima.com

    WordPress is configured to set page_id=3 as the home page. So the URL will look like this:

    http://www.lomilomihanalima.com/?page_id=3&lang=en-us

    or this:

    http://www.lomilomihanalima.com/?page_id=3&lang=jp

    However when the language code link is clicked the URL comes out:

    http://www.lomilomihanalima.com/?lang=lang=en-us

    or:

    http://www.lomilomihanalima.com/?lang=jp

    This produces null page.

    How can I fix this?

    Aloha and mahalo for your help,

    .. ev ..

  165. 165
    Dovydas Sankauskas Says:

    I am using gengo plugin, but I want to switch to xlanguage. Gengo adds language identifier /en/ to the permalink of the post, but xlanguage adds /lang/en/. Is it possible to change /lang/en/ permalink to /en/ permalink, so my permalinks will not get broken when switching to xlanguage from gengo?

  166. 166
    Eugene Villaluz Says:

    Sam … I posted a message to you a few days ago concerning my problem about the home page not switching properly. The post doesn’t show up. Did you get it?

    Mahalo,
    .. ev ..

  167. 167
    HelloSam Says:

    Eugene: No I don’t have it. May you repost?
    Dovydas: I am afraid it’s not support and it’s not in the plan. Such modification requires some significant code changes to the rewrite rule generation logics.

  168. 168
    HelloSam Says:

    Eugene: I found your comment in the spam bucket. So sorry about that.
    What you are saying could be a valid bug. At the meanwhile, could you try to enabling permalink to see if it resolves in permalink mode?

  169. 169
    Marcos Says:

    Hi Sam,

    I’m using a a plugin that enables ranking of the posts by popularity and the output function is: akpc_most_popular($limit = 5);

    The problem is that, although I’m using the “|” spliter in the post title, the popularity plugin shows up all the content in the sidebar, including the spliters.

    Is there any solution for this?

    Thanks!

  170. 170
    HelloSam Says:

    Nothing can be done without changing the code of the akpc plugin: please make the title pass through the ‘localization’ filter using the code: apply_filters(‘localization’, $title).
    Refer to http://hellosam.net/project/xlanguage/4

  171. 171
    Marcos Says:

    Thanks, Sam.
    I’ll try to get it fixed.
    I’m running into another issue though and I don’t think it has anything to do with the plugin , but any help would be appreciated as I believe that users will be faced with a similar issue.
    When I try to add the the page title for the 5 languages that I want, for instance:

    About Us-eng|About Us-it|About Us-de|About Us-fr |About Us-es

    Wordpress is llimiting the length of the title description and it cuts the last About Us, in this case Spanish.
    Have u ever faced this issue?

    Again, any help is greatly appreciated.

    Marcos

  172. 172
    Eugene Villaluz Says:

    @Sam

    Okay. I work on it and let you know what happens.

    Mahalo,
    .. ev ..

    >At the meanwhile, could you try to enabling permalink to see if it resolves in permalink mode?

  173. 173
    Eugene Villaluz Says:

    Hello Sam,

    I turned permalinks on for (lomilomihanalima.com) and the home page still does not work well.

    Is there something else I’m not understanding or should try?

    Mahalo,

    .. ev ..

  174. 174
    Leelo Says:

    Hi Sam,
    your plugin works fine, but whenever I try to edit an extisting topic, wordpress crashes, giving me an error with cookies. In other words, if I try to edit an article, WP don’t let me login, and I need to disallow all the plugins via MySql.
    Can you help me pls ?

  175. 175
    james Says:

    Hi Sam
    It would seem that the plugin is adding several tags in my posts thereby messing up the post.
    You can see for yourself on the front page of my blog
    Any ideas?
    James

  176. 176
    axl Says:

    hi, I was looking around and could find any information about positionning the language selection link… let’s say i’d like to have them in the header instead of the sidebar…could this be possible?

  177. 177
    james Says:

    Axl
    You need to add in your header file where you want the list of languages to appear
    James

  178. 178
    james Says:

    Axl
    my previous post did not show the correct code:
    James

  179. 179
    james Says:

    lets try again :) put xlanguage_list_langs() in between the standard php markup tags
    James”

  180. 180
    axl Says:

    thanks! I’ve got another little question… I installed the plugin on 2 different blogs hosted on 2 different hosts. In one blog everything works great and in the other, everything works too but I don’t get the button for the languages in the visual editor…

    This might be an hosting problem I think… or maybe you have a great solution to help me:) I can put the code directly but i don’t think the writers could…

  181. 181
    rg Says:

    our blog is read by people that likely speak multiple languages (spanish and english), so the goal is to show them a post in their preferred language if their is a translation (and the preferred language would depend on their browser preference, which is built in the plugin), but to show all original posts regardless of their browser preference. so if their was a english post and the user’s browser had a spanish preference, the english post would show.

    is this possible? if so, how would we set it to then give the language preference by allowing them to select (show only english posts, or show only spanish posts)?

    thank you!!

  182. 182
    The Optimist Says:

    Sweet. Thanks a lot. Amazing plug in much needed. Thx again

  183. 183
    George Says:

    Cool plugin. It doesn’t actually translate the post to different languages, does it?

  184. 184
    Estamos trabajando en ello… | Dibujoradas Says:

    [...] el plugin Babel que estaba usando hasta ahora para poder escribir este blog en dos idiomas por xLanguage que he descubierto hace poco y que parece ser que me permitiría que el blog fuese totalmente [...]

  185. 185
    little tikes slide Says:

    Thanks for this useful plugin, will install it right about now ;)

  186. 186
    axl Says:

    I had the same problem with date month not being translate. After reading the usage guide and all the comments, I realized it had to do with the .mo… So i made a copy of fr_FR.mo and renamed it fr.mo and now everything works fine… Might not be the best solution but it’s a quick way to get around this problem…

    Now I was wondering if the filters can be applied to any content? In clear, can link title tags could be translate with the filters?

    or could this text content be translated with the filters?

  187. 187
    Papergecko: Handbuilt Websites & Artist’s Books » Blog Archive » Bilingual WordPress for Aromatherapy Wales Says:

    [...] plugin we opted for in the end was xLanguage by the extremely helpful HelloSam which, whilst our php skills weren’t really prepared for [...]

  188. 188
    Dibujor Says:

    Hi there! I found your AMAZING plugin. In fact I’ve been looking for something similar for so long….
    At least I’ve managed to imagine how to set it up properly but now I have a (hope) little problem. The toolbar isn’t showing in my composer editor, so I don’t know which tags to use. I’ve selected the XHTML parser (the one) and I’m using Wordpress 2.51 with the last version of your plugin….hope you can help me….

    Thanks in advance

  189. 189
    Yuji Says:

    Great plugin!
    BTW, say I have two languages: English and Japanese.
    If I write a text that is available in English only, then setup Japanese as English fallback, are there anyway I can make it show /lang/ja in the url of these texts instead of lang/en, since these texts would be in Japanese and not English…

  190. 190
    Yuji Says:

    Oh yeah and it would be cool having the flags shown in the upper-right side of every entry, showing the languages available for that specific entry, like in jLanguage.

  191. 191
    Cheap Rims Says:

    It would be really cool if it also did the translations for you. Accurate translations, that is…

  192. 192
    Dibujor Says:

    I write a new comment just to say that I have resolved my problem, was just that I erased the images when I was changing them to use some wonderful famfam flags…now all works WONDERFUL. VERY VERY GREAT plugin!. Thanks for it!.

    Just one question though. I haven’t understand how to localize widgets. Well, in fact I do, but I don’t know how to apply your instructions. I have some “normal” wordpress text widgets in my sidebar to show some things but the title isn’t localized even though I use the | thing. And I can access the code of this embeded plugin. Is there any way to get this titles translated?. I was thinking about using samsarin’s php widgets (it’s similar to the text plugin but it allows to use and execute php code) instead of normal text widgets…but I can’t find the correct place to put your code in it (I’m a noob in all this things)……Any advice?

    Samsarin’s plugin page: http://www.samsarin.com/blog/2007/03/10/samsarin-php-widget/

    Thanks so much in advance

  193. 193
    Dibujor Says:

    Again I write to say I’ve resolved my problems. Now my blog is fully bilingual using samsarin’s php widget instead of normal text widgets….

  194. 194
    Christian Says:

    Hi,

    I get this error message when I activate the xlanguage plugin in WP 2.5:

    Fatal error: Cannot redeclare class xlanguageplugin in httpdocs/wp-content/plugins/xlanguage/xlanguage.php on line 996

    Do you think it is a compatibility issue, or a server configuration issue?

    Thank you.

    Christian

  195. 195
    Gabry Says:

    I get the same error using wp 2.3.3
    Fatal error: Cannot redeclare class xlanguageplugin in /var/www/web53/web/wp-content/plugins/xlanguage/xlanguage.php on line 996
    many thanks
    Gabry

  196. 196
    Boston Dentist Says:

    Sounds like a very useful plugin that would make a person’s site that much more accessible.

  197. 197
    Terminada la actualización del blog | Dibujoradas Says:

    [...] encarecidamente (de nuevo), para aquellos que quieran su blog en varios idiomas el plugin xlanguage. Por supuesto, no traduce automáticamente, tendréis que escribir el contenido en varios idiomas [...]

  198. 198
    Will Says:

    Hi there, I wanted to first say what a great plugin this is. I would like to contribute but I really need to solve one thing…

    Some blog posts will be written in only 1 language – how can I make the posts page only display the posts that actually have a post in the language preference that a user may have? Otherwise, it lists all posts and just gives the ‘not available in this language’ message. I have set xLanguage to show no message if a language isn’t available but it still shows the empty post and the date. Any ideas how I can hack around this behaviour?

  199. 199
    axl Says:

    Hi, I’ve managed to make the blog i’m working on fully bilingual (I’ll post link when it will be online) with your great plugins. Now, just fine tuning everything and I was wondering if it is possible to had title for the language link?

  200. 200
    Catherine Says:

    I can see lots of different ways that this is so useful. Thanks!

  201. 201
    rg Says:

    After reading through the posts and experimenting with the other multilanguage plugins their seems to be a limitation on all the multilanguage plugins and that is the ability to hide posts that are not in the selected language. So if I have a bi-linguagl blog and language A has 100 posts with only 5 translations in language B, when switching to language B it is going to list all 100 posts with 95 that say “unavailable” versus just the 5 posts that have translations.

    Am I missing something here? hopefully so, because I’d love to use this… Please help! thank you for the fantastic plugin.

  202. 202
    darren alexandria invisalign Says:

    This looks like a very nifty plugin to have. I don’t do anything other than in English but believe that my foreign friends might be interested in checking this out. Will point them here.

  203. 203
    Chad Says:

    This looks like are great multi language plugin, I have a couple of blogs that I want to add spanish to, so I am going to give this plugin a shot. Thanks

  204. 204
    Buy trex Helicopter Says:

    O this is such a great plug in. Wow. Wondering if there are a few more languages supported by this but anyhow getting this plug in :)

  205. 205
    matilda Says:

    I look forward to putting this plug in to good use. Thank you.

  206. 206
    gadgets Says:

    good plugin
    will have to try
    thanks

  207. 207
    Robert Lenz Says:

    hi there,

    after adding a third language, i got this message:

    *
    Warning: Invalid argument supplied for foreach() in (…)wp-content/plugins/xlanguage/xlanguage.php on line 845

    Fatal error: Cannot unset string offsets in (…)wp-content/plugins/xlanguage/xlanguage.php on line 865
    *
    my wordpress-installation stopped working and i was forced to delete the plugin. after a reinstall i tried to activate the plugin again… but still recieve the same error message.

    any chance to fix this… ?

    robert

  208. 208
    Robert Lenz Says:

    problem solved. i had to reinstall wordpress myself instead of using the default install from my host.

    but now… i got a new problem:

    Fatal error: Cannot redeclare class xLanguagePlugin in
    (…) /wp-content/plugins/xlanguage/xlanguage.php on line 996

    already 2 people here with the same error. i’m on 2.5.1 and using your plugin 1.3.3

    any chance you could help…?

    robert

  209. 209
    Robert Lenz Says:

    ok, ok… i don’t want to spam your blog. :-)

    last problem solved, too. i had to reset the xlanguage options. and that was that!!

    hope to put your plugin in good use.

    thanx for your plugin! :-)

    robert

  210. 210
    james Says:

    have you had the chance to test with WP 2.6?
    Cheers

  211. 211
    upandbeyond Says:

    I installed xLanguage and configured English (en) and Japanese (jp) languages, but when I try to access /lang/en and /lang/jp I get “Page not found”. It seems that /?lang=en is the only way to access the site in English? How do I enable /lang/en and /lang/jp URLs to start working??

    thanks!
    -Jim

  212. 212
    upandbeyond Says:

    Sorry somehow permalinks got turned off. I turned them back on and now /lang/en and /lang/jp are working.

  213. 213
    Jolin Says:

    I also want to know the process of this plugin with WP2.6.

  214. 214
    Axl Says:

    I upgraded to wp2.6 yesterday and everything is working just fine with the plugin.

  215. 215
    Nachtmeister Says:

    I use xLanguage for a long time, but now I would to add a related posts plugin. The posttitles which have to show under related posts are not splitted in the choosen Language. The title shows me like this “Englishtitle|Germantitle” but it should be like “Englishtitle” and the other one when I choose the German language.

  216. 216
    Evolving Blog » WordPress 2.6 Says:

    [...] downside for those wishing to upgrade is that they’ll have to start looking at that plugin compatibility page again. The first test will be for large plugins like xlanguage, although one comment on the [...]

  217. 217
    name Says:

    best of the best it is,

  218. 218
    网站分析 Says:

    Hi sam, I’m using Supercache and think it works well for me

  219. 219
    Yogie Says:

    Hi,

    with WP 2.6 in my menu on the left hand side the headings are not parsed anymore, will say that I have like this “Gallery | Gallerie” instead of only one of the words depending on the language settings…

    Cheers
    Yogie

  220. 220
    Nachtmeister Says:

    Same problem ;)

  221. 221
    Ben Freeman Says:

    I think that xlanguage is not compatible with wp2.6, as I have the same problem (and all my text is displayed in posts despite marking some in different languages). This program rocks and I hope the author will be able to update it soon.

  222. 222
    HelloSam Says:

    Dear my royal users, I just upgraded my Blog to 2.6 too but didn’t notice any problem so far. Please send me a screenshot to the email so that I could follow up with the specific issues. Thanks.

  223. 223
    Zaerl Says:

    Hi there. I’ve upgraded to WP2.6 some days ago and now I experience the same error other users have. No translation of tagged text all around the blog. Compliments for the wonderful plugin. I will proceed with a donation if you update it. Anyway thanks for all the work done. I’ve tried several multilanguage plugin prior of xLanguage (qTranslate in primis) but I’ve experienced very weird behaviour.

  224. 224
    Zaerl Says:

    Sorry, my fault. Now xLanguage works great for me in wordpress 2.6. It was a problem with the php version in my server.

  225. 225
    qTranslate problems solved | A programmer's paranoia Says:

    [...] now up and functional. Old plugin for multilanguage i18n has been replaced with the more advanced xLanguage. One of the best plugin ever [...]

  226. 226
    Ben Dash » Blog Archívum » xLanguage and widget titles Says:

    [...] A question came in the beginning of using the xLanguage plugin: how can you make the default widgets’ (that came with wordpress) title bilingual, as the method with the ‘|’ Single Line Syntax doesn’t work for them. I’ve read in several places that other people also have this problem, so I thought I might give you the solution, with my general experiences regarding this issue: [...]

  227. 227
    Ben Freeman Says:

    Hello again,
    Having had some (self created) teething problems with the install, I am back up and running with WP2.6 and this excellent and time saving plug-in.
    My next question is a suggestions request. Is anyone aware of a plug in future events calendar (I *really* like events calendar) which is compatible with xlanguage without hacking, or do i have to go though everthing in events calendar and add the piping line? Many thanks.

  228. 228
    axl Says:

    It is not used anywhere in the Wordpress itself, but nevertheless Wordpress does not provide any similar entry point. I would like to promote this hook to be implemented by plugins to provide similar functionalities, and in turns, users and other plugins can rely on this hook too.

    So this means that we cannot use the apply_filter() to wordpress. Let’s say I retrieve the category of a post and echo the category_name, I end up with category_name_in_french|category_name_in_english. Is there any way to filter the result?

    Ok, Stupid I am;)

    All I had to do was to filter the variable containing the category_name!

    xLanguage for president!

  229. 229
    Yingna Says:

    Hi! I think this is a great plugin that you have made! It’s definitely very useful.

    Unfortunately, I have a few problems when I installed and tried to use it. I am using a fresh copy of Wordpress 2.6. First of all, when I tried to activate the plugin, I received this error:

    Fatal error: Cannot redeclare class xLanguageWidgetListLangs in /home/(…)/wp-content/plugins/xlanguage/widget.php on line 29

    After going to the Settings — xLanguage, I receive this error under the “Language” header:

    Warning: Invalid argument supplied for foreach() in /home/yintenco/(…)/wp-content/plugins/xlanguage/view/admin/language.php on line 94

    When I tried to add a language, I receive this error:

    Languages cannot be added because:
    The permalinks primary appending position cannot be empty.
    The Single Mode Splitter cannot be empty.
    The Square Bracket Syntax must be consists of a-z, A-Z, 0-9, – (dash) and _ (underscore) only.

    However, I filled out everything correctly.

    I would appreciate if you could shed a bit of light on how to fix these problems. Thank you!

  230. 230
    hans Says:

    Hi!

    Great Plugin! Just what I was looking for… Everything works fine but one little thing.

    I have built a contact-form with cformsII… Is there a way, I could have this also mult-language? Or is there another way of making multi-language contact-forms?

    Thanks

  231. 231
    HelloSam Says:

    To support any other 3rd Party plugin, there are two options:
    1. See if they support .mo file localization. That’s how the Wordpress itself, the most themes and modules support the multi-language for hardcoded display element.
    2. if it’s about admin configurable element, then you have to hack the logic that prints out your content. By making sure they go through apply_filters(‘localization’, …), the language tag will be functional on them.

  232. 232
    Leather Bible Covers Says:

    What a great way to make your blog available and accessible to people all over the world.

  233. 233
    Fight A Speeding Ticket Says:

    It never ceases to amaze me the number of things that wordpress can do.

  234. 234
    ray Says:

    nice plugin, but I have one problem:
    maybe it is the the permalink rewrite rule.
    Problem is that I do not know how to change the rewrite rule (is there ar tag like %language%?) to get a valid link to my posts.
    the Plugin works (with wp 2.6.1) but if I click on a link the url changes (/lang/fr/ is prepended to the rewritten url after the .tld ) and the link does not work any more.
    please help! I promise I will donate if I can get it to work, because xlanguage is better then gengo which tends to screw up the database on deinstallation.

  235. 235
    ray Says:

    another thing is that the option “Explicit Redirection” “never” has no effect on the url creation. the url is always like this : “http://domain.tld/lang/en/postname”. so /lang/en/ is always displayd after I click on a link, and I get a blank page.
    xlanguage works without permalinks but i want to have them.
    any suggestions?

    ray

  236. 236
    Wordpress-hjälp: Wordpress-plugin II | Sennbrink Konsult Says:

    [...] xLanguage Ett plugin för du som bloggar på flera olika språk. xLanguage låter besökaren välja mellan vilken språkversion av bloggen som denne vill läsa. Användargränssnittet är dock inget för nybörjare och kräver viss erfarenhet av Wordpress. [...]

  237. 237
    Mario Says:

    I have a question: does the plugin allow for a distinction between the feeds in the two languages?

    Right now I am using a plugin that does not. And readers will see feed items in both languages, or just one language.
    Thanks.

  238. 238
    Sourena Says:

    I installed and activated xlanguage, but when it was activated it gave me the following message on the top of the admin page. What is the problem here and how can I solve it?
    Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 10004 is not allowed to access /var/www/vhosts/sourena.net/httpdocs/wp-content/uploads owned by uid 48 in /var/www/vhosts/sourena.net/httpdocs/wp-content/plugins/xlanguage/admin.php on line 141

    Warning: fopen(/var/www/vhosts/sourena.net/httpdocs/wp-content/uploads/xlanguage-parser-11914147621541470766.log) [function.fopen]: failed to open stream: No such file or directory in /var/www/vhosts/sourena.net/httpdocs/wp-content/plugins/xlanguage/admin.php on line 141

    Warning: fclose(): supplied argument is not a valid stream resource in /var/www/vhosts/sourena.net/httpdocs/wp-content/plugins/xlanguage/admin.php on line 142

  239. 239
    Zaerl Says:

    xLanguage does not work together with wordpress 2.6.2. After upgrading I recieve:

    Warning: Invalid argument supplied for foreach() in /…/wp-content/plugins/xlanguage/xlanguage.php on line 845
    Warning: Invalid argument supplied for foreach() in /…/wp-content/plugins/xlanguage/xlanguage.php on line 908
    Fatal error: Cannot unset string offsets in /…/wp-content/plugins/xlanguage/xlanguage.php on line 935

    And I must delete the folder in order to gain control over my blog. Can’t solve the problem even with reinstallation.

  240. 240
    Zaerl Says:

    I figured out the problem. I leave a different collation in wp-config.php and get_option worked wrong with extended chars of xlanguage options in wp_options table.

  241. 241
    Dilate Says:

    Certainly!

  242. 242
    Matt Serwin Says:

    xlanguage is another one of those cool but not really necessary wordpress plugins. Thank you.

  243. 243
    Nachtmeister Says:

    I use xLanguage since a long time on my website and it works fine. I hope for Updates.

  244. 244
    Ochado Says:

    I use this tool and it helps me a lot! One thing, though, I’ve lost the feeds I put next to each category in my templates; the code is there but it doesn’t show up in the blog. Also, is there a way for the titles like “Links”, “Categories”, etc. to be translated?
    Great work on this widget!

  245. 245
    Nick Says:

    Since I’m a Greek guy, I have several blogs in the Greek language, but also my readers might want to read them in english, so I hope xlanguage will help me a lot.

    Thanks a lot

  246. 246
    Terence Lai Says:

    Hi,

    I installed xlangauge plug-in, and added zh-hk and zh-cn through the plug-in’s option page. However, when I compose a blog using the Rich Editor, I only see the “Highlight the paragraph language” and “Clear the language tag of the selected text” options from the xLanguage Toolbar. I don’t see any options to set the selected text to the languages that I added. Am I missing something in the installation?

    In addition, I’ve added the xLanguage widget in my site. However, I saw broken images on the language icons, and the site does not switch the language when I click the specific language link.

    FYI, I have put the zh-HK.mo and zh-CN.mo files under wp-content/languages. Do I need any additional plug-in in order to get xLanguage working?

    Thanks,
    Terence

  247. 247
    Sourena Says:

    Terence,
    I have the exact same problems. I have broken images in my home page, and I don’t see any of the icons that supposed to show up in the “Write/Post” Page. The only thing that works is ” | ” in the title.

  248. 248
    Terence Lai Says:

    FYI. The installation problem mentioned in my previous message is on WordPress 2.6.2.

  249. 249
    Sourena Says:

    I have the same problem on Wordpress 2.6.1.

  250. 250
    HelloSam Says:

    Hi Sourena, Terence: Please try to clear the cache of your browser. If it does not work, please try to reset the xLanguage options (at the 3rd page of the xlanguage options page) and try again. Thanks.
    For the mo file, please be aware that the filename is case sensitive, i.e. you should rename the zh-CN.mo to zh-cn.mo, same for zh-HK.

  251. 251
    Lawa Says:

    I learned much from your post. Thank you.

  252. 252
    Goofy Says:

    Hello,

    I am trying to use this wonderful xLanguage plugin. Everything is
    working very well, except that I don’t find a way to use the filter hook
    in the sidebar H2 heading (no widgets!).

    Any help or a direction where to look would be greatly appreciated.

    The code:

    <ul class="submenu ">

    Novinky | News

    <a href="">

    Thanks
    Goofy

  253. 253
    James Says:

    Hi, I found your blog on this new directory of WordPress Blogs at blackhatbootcamp.com/listofwordpressblogs. I dont know how your blog came up, must have been a typo, i duno. Anyways, I just clicked it and here I am. Your blog looks good. Have a nice day. James.

  254. 254
    elicat Says:

    Hi Sam, I live in HK and want to write my blog in both eng and chinese
    I am very happy to find this plugin.
    However I have a installation problem

    my WP version is 2.6.2
    xLanguage version is 1.3.3

    once I actived the xLanguage in admin page
    it said:
    Fatal error: Cannot redeclare class xlanguagepluginbase in /home/dsilentcom/domains/d-silent.com/public_html/blog/wp-content/plugins/xlanguage/plugin.php on line 103

    is it a reason I installed “qTranslate ” before?

  255. 255
    Iamzaks Says:

    Greetings, this is a great plugin, I will make a donation once I have it running because It really helps me out!

    The problem is that everything works, except the content. The titles, tags and categories, all are translated, but the content of the post is displayed in both languages simultaneously, one is tagged as english and the other as spanish (en, es), and it makes no difference.

    I Run WPmu 2.6.1 ans xLanguage 1.3.3 with K2 RC3 I really need urgent help. I tried 569 and r669

    Thank you

  256. 256
    Charly Says:

    I’m using this great plugin but I found conflict with other plugin which uses pagination.
    For sample : i have a glossary page (using IMM-Glossary) in this url (for sample) : http://www.mydomain.com/glossary/lang/en/. When i click the second page, its 404 error because the browser opening : http://www.mydomain.com/glossary/lang/enKey/2/. Its supposed to be opening http://www.mydomain.com/glossary/Key/2/lang/en to show correctly. Please help because I have no idea whats code must be tweak to fix this problem. This problem also found if I using FAQ-Tastic and EZ-FAQ plugin thx n regards,

  257. 257
    Pete Says:

    Hello from Bavaria,
    I have a problem with widgets and xLanguage.
    The plugin works fine so far with categories, pages, posts and the widget you provided for switching the languages.

    Problem: it does NOT work with the other widgets (like Category, Pages, Text …all standard as far as i know…).

    Any idea or hint were to check for misconfiguration or error or db-problem or …???
    (I am still using WP 2.5.1 and this one is installed on a mySQL 4.x db, in this case the terrafirma-template 3.5 and some other nice plugins like the TinyMCE adv.)

    Thanks in advance!
    Pete

  258. 258
    GasPriz.it » Blog Archive » Blog multilingua con xLanguage Says:

    [...] di qualcosa di più versatile e meno pesante è stata lunga, ed alla fine ci siamo indirizzati su xLanguage di Sam Wong, un plugin con maggiori funzionalità, che offre la possibilità al visitatore di [...]

  259. 259
    Leonardo Diaz Says:

    Hi, thanks for this great plugin.

    I worked for me on windows when developing the blog, but when I move it to the linux server I got this error:

    "Fatal error: Cannot redeclare class xLanguagePlugin in /var/www/wp/wp-content/plugins/xlanguage/xlanguage.php on line 996"

    Any idea why this is happening, I read some other comments and is the same problem.
    I’m using wp 2.6.2 on ubuntu php. 5.2.4 with Suhosin-Patch 0.9.6.2

  260. 260
    Henning Says:

    Thank you, thats great…

  261. 261
    20 Ultimate Wordpress Plugins - Čolović Vladan Says:

    [...] kind of very basic translation system, just to allow as much readers as possible. I also found a good comparasion of multilingual [...]

  262. 262
    woody Says:

    Looks good, when I get a chance I am going to install it on a new blog project I am working on.

  263. 263
    bukmacher Says:

    great plugin, better than global translator

  264. 264
    WordPress is monoglot Says:

    [...] xLanguage, qTranslate: todo o conteúdo na tabela posts utilizando [...]

  265. 265
    72quadrat Says:

    Is it possible to choose domains instead of permalinks for xlanguage? For example to show german text on http://www.domain.de/year/month/postname and english text on http://www.domain.com/year/month/postname ?

    That would be GREAT and gives our website a more professional look…

  266. 266
    Free Certificate of Completion Template Says:

    Thanks for providing links to the tiny flags. That was very helpful!

  267. 267
    bung eko Says:

    is this plugin support indonesian language?
    my site write in indonesian language an i want to use this plugin..can this plugin translate from indonesian to english?

  268. 268
    HelloSam Says:

    To bung eka: No. This is not a auto translation tool. This plugin provides you a way for the user to select the language they want to see, but you have to write your post in multiple languages.

  269. 269
    CoLiq Says:

    Wow.. Cool..
    seems closes to joomla ;)

  270. 270
    ingiltere vizesi Says:

    These are not surprising my anymore, but thanks..

  271. 271
    Evgeniy Says:

    This plugin provides you a way for the user to select the language they want to see, but you have to write your post in multiple languages.

  272. 272
    bung eko Says:

    okay..thanks for the answer, this is a usefull plugin for me..great job..

  273. 273
    Ramesh Says:

    Is this a plugin which gives users to select their language?
    It would be great for my new sites.

  274. 274
    Office Supply Guy Says:

    Nice plug-in. So you can translate everything in the post including the resulting RSS feed? Now, that’s a really cool feature.

    I can’t wait to see how that works on a few of my blogs.

  275. 275
    Friereeindelo Says:

    best search engine google

  276. 276
    New addition: The French Key « Tips from Idea15 Web Design Says:

    [...] the site is multilingual, just like the business.  I used the XLanguage plugin to allow both the French and English copy to reside on the same pages.  Using <span> [...]

  277. 277
    tom Says:

    nice plug in

  278. 278
    Dima Says:

    Plugin XLanguage very good thing, it is fairly easy to manage. It lets you choose the language that you want. And it functional. My advice for all to use this plugin.

  279. 279
    Dima Says:

    I now nokia n95 and I have a lot to him know of programs, but that I have not heard, can be a bit more about it? I see you at the forum described most frequently asked questions. Excellent site

  280. 280
    Daniel Larsson Says:

    This seems be be a very handy plug-in, but when I try to install it I get a Fatal Error (version 1.3.3 on a fresh 2.6.3 version of Wordpress without any other plugins or theme). The error message says: can not redeclare class xLanugagePlugin on line 996 in xlanguage.php.

    Would be very happy if you could look into this problem. Many thinks.

    - Daniel, Sweden

  281. 281
    Daniel Larsson Says:

    For those who can not get this plugin to work, perhaps you want to look at qtranslate (qianqin.de/qtranslate). Although it lacks many of the features that xLanguage claim to offer, it works with my installation of Wordpress. It is very easy to install and it has a very intuitive user interface.

  282. 282
    Alice Moyon Says:

    Hi Sam, for some reason I can’t get the language selection in my sidebar. When you say ‘Also, put the xLanguage widget up so the users are allowed to switch language as needed.’, how do I do that?

    Thanks
    Alice

  283. 283
    Daniel Larsson Says:

    So now I got xLanguage to work with my installation thanks to the tips from the author to perform a reset (Settings -> xLanguage ->
    Options). Many thanks!

    Compared to qtranslate I find this plugin more useful because it guesses which language to use and saves choises in a cookie.

    Things I liked with qtranslate that I miss from xLanguage are:
    - A separate “Title” field for each language when composing a post. With xLanguage I have to manually add a tag?
    - Also the Dashboard/Admin pages changes language (with the default theme). Perhaps this can be done with xLanguage too?

    Another suggestion for improvements is:
    - Some hints of how to customize the theme/widget to include a flag/symbol and change the displayed text (right now it says e.g. “english english”; don’t know why).

  284. 284
    Mila Says:

    Thanks for the plugin, I used online service like babel fish which i did nt quite like

  285. 285
    ekoloji haber Says:

    Thanks for the plugin, I used online service like babel fish which i did nt quite like

  286. 286
    Ex Smoker Says:

    Thanks that is a vast improvement

  287. 287
    CD Rates Says:

    Indeed I couldn’t agree with you more.

  288. 288
    rezeptfrei Says:

    Hi Sam,
    I got some Problems with the Installation. My english is to bad. Is there a german or french documentation outthere?

  289. 289
    Chinese SEO Says:

    Cool plugin Sam, I was using qtranslate before which works well but is a bit more simple. This one really gives greater functionality – It is also worth the extra effort to have all those additional people able to view our blogs! Thanks

  290. 290
    pei Says:

    Hi, I don’t know why i can’t see the language icons from the sidebar, and also, there’s no language options on the editing tool bar, however, I can see the highlight/ deselected icons. Just the language numbers icons are missing. Do you know what could be the cause? (please check the site url here to see the sidebar issue). Thank you very much!

  291. 291
    pei Says:

    Hello,
    i can see the language choices from the editor after clearing cache!
    now only the sidebar has issue displaying the icons. Do i need to manually add the icons?

  292. 292
    HelloSam Says:

    xLanguage does not ship with any icon, please refer to http://hellosam.net/lang/en/project/xlanguage/4 for adding flag image to the side bar, as well as instruction to customize the template/theme, etc.

  293. 293
    pei Says:

    Hi HelloSam,
    thank you so much for getting back to me, this is really an amazing plugin.
    i tried to do a search in the files, but i didn’t find where i can alter the width and height.
    Can you kindly let me know where i can find the line? thank you!

  294. 294
    John Says:

    I also made a page with xlanguage…which is awesome, by the way. The posts work great in all languages. I also have a page with contact forms made with cformsII plugin. I made a form for each language and put the code to load them in between language tags. However, only the first form in the list loads for every language. Any ideas?

    I am using Wordpress 2.6.2 and the newest of all the plugins.

  295. 295
    Pet Dog Says:

    Nice plugin. Will have to try it when I get time.

  296. 296
    Hotels Leeds Says:

    Changing the width and height seems to work for me in Explorer but not in Firefox – can anyone point me in the right direction please.

  297. 297
    mlanglois Says:

    Thank you so much for this great plugin!
    There seems to be a bug with tags: the tag cloud displays well, but not the list of tags after a post. You can check that on my website: http://michaellanglois.org
    Is there a way to fix it? Thank you!!!

  298. 298
    david Says:

    hi SAM!… how can i apply the filter to a simple html text between the “a” tags…

    thanks!!

  299. 299
    chloraldo Says:

    Hi

    I get the message “Rendering of admin template [...]/wp-content/plugins/xlanguage/view/admin/advanced.php failed” when looking at ‘Language (Advanced)’ and ‘Options’. This occurres since 2.6.3. Before that it worked.

    Thanks for your help, and great plugin!

  300. 300
    network Says:

    it is really an amazing plugin.thank you so much for it

  301. 301
    Milan Says:

    Hi,
    I’m having trouble with getting the static front page link in the navbar to translate. When I turn off the option the page and the link in the navbar translates fine, but when i turn on static front page, it just shows Home.
    Please help, I’m not very good at this :)

    Here’s the code responsible:
    <li id="home" class="page_item"><a title="Home" href="">Home

  302. 302
    Clemens Says:

    I have seen many plugIns for wordpress, some are very useful and some less but your plugins is top! You can be sure that I download it and use it in my next blog. Thank you for sharing it.

  303. 303
    Branson Computer Repair Says:

    Finally! The perfect solution I’ve been looking for! I have tried and tried to find a way to provide multi-language content on my WP blog. This is awesome. Especially since it even does the tags and titles for me.
    I did get the “can not redeclare class xLanugagePlugin on line 996 in xlanguage.php” error after I installed it. But your fix helped me solve it. Thanks alot!

  304. 304
    chocobo2k Says:

    Hi Sam,
    thanks for the great plug-in. I managed to get the widgets to translate as well. I downloaded the .mo files for the languages and I placed languages folder in include, content and my theme. However, I am still unable to make the dashboard switches languages too.
    If I changed define (‘WPLANG’, ”); to define (‘WPLANG’, ‘ja’); for example in wp-config.php I get the dashboard in Japanese. But I want the dashboard to switch too. Is it possible to get the dashboard to get localized as well?

  305. 305
    HelloSam Says:

    chocobo: I’m afraid the behavior is by-designed. xLanguage is designed not to interact in the Admin mode.

  306. 306
    chocobo2k Says:

    Thanks for your quick reply Sam.

    Aha, I see, is this like a security feature ? the reason I am asking is that, I have an educational web blog and I will need to get translators to help me translate the material on my web blog to different languages. I thought by providing them with translated dashboards then things gets easier for them to work with. I thought this could be done that’s why I asked. Thanks again

  307. 307
    Tommy Says:

    this plugin is complete bullocks… dont use it…

  308. 308
    John Says:

    Thanks for your plugin. it is great.

    My website have the following error message above my wordpress admin pages. How could I fix it? Is it because any DB record issues? Does compete uninstall and install help? How can I do it?

    Warning: fopen(/home/[my website folder]/wp-content/xlanguage-parser-166285373723007836.log) [function.fopen]: failed to open stream: No such file or directory in /home/[my web site folder]/wp-content/plugins/xlanguage/admin.php on line 141

    Warning: fclose(): supplied argument is not a valid stream resource in /home/[my web site folder]/wp-content/plugins/xlanguage/admin.php on line 142

    Thanks.

  309. 309
    lyndon Says:

    Although I have a business I am currently developing a english/arabic/urdo blog site for a client?
    Does this work for any or all of these languages
    Thanks

  310. 310
    Bob Says:

    I was able to configure this and use it with two languages: en and spanish. I downloaded the es.mo files and installed them.

    When I use the xLanguage widget to switch languages, instead of directing me to “http://blog…” is goes to “https://blog…” Obviously, going to a secure web page is not good, since I don’t have https setup. Any ideas on how to fix?

  311. 311
    WYS Says:

    I activated your plugin in my wordpress 2.6.1 blog. When I activated the widget, viewed the language twice. It displayed English English rather than English. I’ve re-check the option page but the error still occured.

  312. 312
    Muki Says:

    Another wordpress plugIn but this time it is worth to use it. Thanks for posting.

  313. 313
    Zoohandlung Says:

    I am really impressed.

  314. 314
    yumuzika Says:

    Is there a limit how many language we can use at once?

  315. 315
    chocobo2k Says:

    Hi WYS, actually the first English will be replaced by an icon say US flag and then besides it there is the language name. The language name should corresponds to the icon file name or xlanguage wont read it. So if your language name is us-en then you should have in the icons folder inside xlanguage plug-in folder a file name us-english.png (or gif as I am not sure) and another file called us-english-activated that will be display the current selected language. There are already some sample files out there. If you want to add more flags then get famfam country icons and extract into the same folder. Just make sure of the file name and extension. I already tested that on English, Japanese and Dutch and all worked.

  316. 316
    WYS Says:

    Thank you very much to you chocobo2k. I’ve already resolve my problem by using your instruction. Thank you Sam. Great plugin..!

  317. 317
    Twitter Tweets about WordPress Plugin as of December 7, 2008 | The Lessnau Lounge Says:

    [...] · Reply · View agarassino: Interesante plugin para wordpress en 2 o más idiomas: http://hellosam.net/project/xlanguage 2008-12-08 01:08:49 · Reply · View weborglodge: @EdwardMoore WordPress has a [...]

  318. 318
    IMC Says:

    What happens with the links and filenames? Can they also be changed?

  319. 319
    IMC Says:

    What happens with the permalinks? Do they also change with the different languages?

  320. 320
    chocobo2k Says:

    To IMC, according to what I know, xLanguage treats what’s between language tags as a whole block. Thus everything inside the language span tags will be hidden and completely replaced by another block. So videos, images, links, files, text…etc all are gonna be replaced, at least that’s what I got by using XML span tag option. I hope that helps.

  321. 321
    chocobo2k Says:

    to IMC, yes the do change too. How about trying it for yourself :)

  322. 322
    audi/video Says:

    Great plugIn but is it “only” wordpress compatible? Drupal user should move to wordpress?

  323. 323
    big shoppen Says:

    v 1.3.3 is the last one? Only for sure.

  324. 324
    gmalol Says:

    hello,

    thx to allow me to use this great wordpress plugin.

    Do you know a form plugin compatible with xlanguage?

    best regards

  325. 325
    Kamal Says:

    Is xLanguage Wordpress 2.7 compatible?

  326. 326
    Toonleap Says:

    There are some “issues” with this plugin and wordpress 2.7, especially the permalinks.

    When I installed wordpress 2.7, the xlanguage seems to be incompatible with it. I was wondering if any other users had the same problem.

    It seems the plugin gets confused with the permalinks. When I post a comment before the 2.7, it is like
    http://www.domain.com/2008/11/13/waking-up/lang/en/#comment-350

    but now, it happens in the contrary
    http://www.domain.com/2008/11/13/waking-up/#comment-350/lang/en/

    and it marks a 404 error page not found.

  327. 327
    patrick Says:

    I have problem using this plugin with v 2.7

    Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/en.js) is not within the allowed path(s): (………../httpdocs:/tmp) in ……/wp-admin/includes/post.php on line 1187

    you have a solution?

  328. 328
    Konstantin Says:

    Спасибо классная статья ;)

  329. 329
    Vihutuo Says:

    I will check this out

  330. 330
    Paz Says:

    This is a fantastic plugin and made my life A LOT easier! Thank you so much for the really great work. I hope it will be compatible with WP 2.7 soon. One more thing: Is there a way to use it with feedburner ie. redirecting the language specific feeds to the corresponding feedburner feeds automatically? Thanks again for this. You’re a legend.

  331. 331
    SwollaFroplag Says:

    Отличная тема.

  332. 332
    ruivialia Says:

    Действительно интерестно.

  333. 333
    ale Says:

    hello! automatic installation fails under WP 2.7
    —-
    Installing Plugin: xLanguage 1.3.3

    Downloading plugin package from http://downloads.wordpress.org/plugin/xlanguage.zip

    Unpacking the plugin package

    Folder already exists.: xlanguage

    Installation Failed

  334. 334
    Wordcamp España Beta Says:

    [...] nos presento algún que otro plugin goloso. Especialmente me gustó la combinación entre Xlanguaje y More fields para realizar sites multilingües. Asimismo me llamó la atención Scissors, para [...]

  335. 335
    Helmer Wieringa Says:

    Hi Sam thank you for this work, no hurry no worries but when do you expect that x-language will work with 2.7?

  336. 336
    Helmer Wieringa Says:

    Hi Sam, Thank for this work. No hurry or worries, but when do you expect that your x-language will be working with 2.7?

  337. 337
    Branson Real Estate Says:

    I couldn’t get it to insatll porperly on the new Word press. Will you have an update for this soon? Thanks.

  338. 338
    Nicola Says:

    Hi!
    first, thank you for the plugin, it’s really wonderful.

    I have just a problem with wp-dtree, I see you use it; how did you use it with several language?

  339. 339
    En.nicuilie.eu Blogs » Top 1000 WordPress Plugin Authors Says:

    [...] xLanguage [...]

  340. 340
    kazan Says:

    This plugin is downloaded 5,220 times..Good number..
    Also,Is it support Turkish Language?

  341. 341
    testerrr Says:

    dear Sam,

    in the plugin subfolder \VIEW\XLANGUAGE\ I find list_langs.php. It says: “To customize, you can copy this file to YOUR_THEME_DIR/view/xlanguage/ and the theme’s one will be used instead.”

    So it seems that this is where I add the icon (small flags) locations that represent the different languages on my blog. But where are these settings called? By the widget? I prefer tot alter the header.php and insert code that handles the language-selection. Which code snippet would do the trick?

    BTW: the best multi language I’ve seen so far! Good work ;)

  342. 342
    HelloSam Says:

    Perfect timing, testerrr. I am releasing a new version (2.0.1) which will looks for the flags files in YOUR_THEME/view/xlanguage/images. No more modification to the template if all you needed is adding the flags.

  343. 343
    baron Says:

    hi. Thanks for plugin

    perfect.

    Regards

  344. 344
    testerrr Says:

    I got the flags to work with the older version by renaming and placing them into where the site was expecting them (plugins/xlanguage/images). I also removed the border around the flags by adding Border=0 to list_langs.php where the URL is defined.
    And I succesfully added the selector to the header.php by adding the right function (as mentioned by Sam in the manual). it was a case of RTFM for me :p

  345. 345
    xLanguage重大更新|xLanguage receives major updates | 晴朗星空下的網絡|The Network under the Bright-Bright Sky Says:

    [...] 差不多八個月沒有更新啦。現在xLanguage 2.0終於可以把純外語文章隱藏,在Category List下、在Feed裏、即使Search也不會出現,而不是再顯示”This post is not available under…”。當然你還是可以選用以前的處理手法,而且你更可以針對每一個語言來獨立設定其特性。 [...]

  346. 346
    Mariano Says:

    Hi there!

    Thanks for creating and sharing this wonderful plug-in.

    For some reason it’s not working for us in the list of tags that appears after each post, I tried adding the_tags to the filter hooks, but that didn’t work.

    Also, WP platform text (“leave a comment”, “no comments yet”, “logged in as”, etc.) is not changing to the right language, even tho I uploaded the .mo files… is it supposed to change? any idea why its not working? The only text that changes are the days and month names.

    Thanks again!! and greeting from Argentina.

  347. 347
    HelloSam Says:

    Mariano, please make sure the MO file are named correctly, exactly matching the language code. MO file are named as xx_YY.mo, while language code is usually xx or xx-yy (depends on what you have chosen!), they must be 100% match, and it is case sensitive. I hope it works well :)

  348. 348
    Mariano Says:

    Hello Sam,

    Thank you for the quick reply!!

    I’ve tweaked several things and I still can’t get it to work. I’m trying to have a Spanish version of our blog and I think that the problem is that the available translations are in files named es_ES.mo and since the plugin won’t accept the _ character or the capital letters, I had to rename the files to es-es.mo or just es.mo (always matching what I enter in the plugin configuration)… is it possible that the es_ES thing is still somewhere inside the .mo file? Is it possible to change it? I tried with Poedit, but I couldn’t find where.

    Any other ideas?

    Thanks a lot!!

    PD: If I finally get it to work, I promess I will make a donation.

  349. 349
    Andy Says:

    Hi,

    I have just updated to the new plugin and found that my “other language” buttons have vanished.

    I was using your last version with this tag which worked fine in WP2.7.
    Is there an easy way for me to get this working again?

    thanks,

  350. 350
    Yogie Says:

    Hi,

    after upgrading I couldn’t get my flags and widget to work again showing flags and switching from one to another language…

    Can you please help me?

    Thanks in advance!°

    Yogie

  351. 351
    Andy Says:

    Hi again.

    I have had a bit of time to re-read your new instructions for installation and have discovered that I had to recreate the view/images folder inside my theme. This now works to show the flags (but the flags only) whereas before it showed “[flag] Other language name” etc.

    Where can I add the code so I can show the language name and the flag?

    thanks,
    Andy

  352. 352
    Yogie Says:

    Well to me simply adding the xx.png and xx-active.png files will not work :-(

    I added them into /wp-content/themes/”mytheme”/view/xlanguage/images/ and also into the plugin folder – No Success!

  353. 353
    Louis Says:

    Hello,
    First, thanks for for this good and really extensive plugin !
    I’d like to know how I can delete le word “lang” in my url,
    to have this
    http://www.example.com/fr/date/post
    instead of this
    http://www.example.com/lang/fr/date/post

    Thanks

  354. 354
    HelloSam Says:

    Andy: sorry I (half accidentally half intentionally) changed the default template.
    Please use the old template to restore the previous look and feel.
    The template of the previous version could be downloaded at http://plugins.trac.wordpress.org/browser/xlanguage/tags/1.3.3/view/xlanguage
    Put it (other_post_lang.php) into /wp-content/themes/_YOUR_THEME_/view/language (create the folder as needed)

    Louis: Removing the /lang/ this is not possible just yet. Stay tuned.

    Yogie: Please do me a flavor in checking a few things. 1. The filename is correct, “xx” is corresponding to your language code, and it is CASE Sensitive. 2. The files are uploaded with correct permission. For example, here is my files structure under /themes/.
    hellosam1/view/xlanguage/images
    hellosam1/view/xlanguage/images/en-active.png
    hellosam1/view/xlanguage/images/en.png
    hellosam1/view/xlanguage/images/zh-active.png
    hellosam1/view/xlanguage/images/zh-hk.png
    hellosam1/view/xlanguage/images/zh.png
    hellosam1/view/xlanguage/images/zh-hk-active.png

  355. 355
    Yogie Says:

    Hi Sam,

    well for example the german flag is here: http://www.yogie.de/wp-content/themes/yogie-mod/view/xlanguage/images/de.png and there is also de-active.png, en.png and en-active.png.
    In my settings I use de-de and en-us as locale codes…
    How should the permissions of the images look like?

  356. 356
    Yogie Says:

    Ooops, writing my mail and seeing your mail again I figured out that I have to rename my files to de-de.png, de-de-active.png sorry etc. now it works thanks!

  357. 357
    Hallvord R. M. Steen Says:

    Hi Sam,
    I’ve noticed a problem after upgrading to WP 2.7 and unfortunately xLanguage 2.0.1 doesn’t solve it: on my blog front page I have links to the various language versions (<a href=”/lang/en”> et cetera) and clicking them now says 404 not found!

    A workaround was to go to xLanguage’s preferences and change permalink style from prefixing to postfixing. For me it’s not really a big issue. However, due to the warning about postfixing not working with paged comments and other plugins, and because other users upgrading will likely see this I thought you would like to know..

  358. 358
    Mariano Says:

    Hello Dear Sam,

    Please don’t forget about me… I’m still struggling with the _ES -es thing (see comment #348 above). Is there something I can do to help solving this? I’ve seen some people having the same problem.

    THANKS A MILLION!

  359. 359
    Raúl F. Illana Says:

    Hi Sam!

    First off all, regards for the plugin.

    I’m trying to get rid easily from that ugly “/lang/” in the permalinks. Can you help?

    Also I’ve found nothing in the usage guide refering to categories or tags. How can i define the language for those?

    Many thanks in advance and best regards.

    PS.: Don’t you have a forum or something where to support? :P

  360. 360
    HelloSam Says:

    Hi Raúl. No there is no way to remove /lang/ yet, but this is surely one of the most popular requests and I am listening.
    Category and tag: use the single line mode, like how you write post title. that is, separated by |. Use single line mode on the “Name”, while keeping using simple english for the “Slug”. For posting under new tag, please tag your post with a correct slug first then go back to the management interface to modify the name into multilanguages.

  361. 361
    A Says:

    That worked for me. Thanks for that.

  362. 362
    Paul Kirk Says:

    new instructions for installation gooood

  363. 363
    Nebojša Jovanović Says:

    Hi Sam,
    I am biginner
    Can you help me please.I am experimenting with your plugins on <a href=”http://noncredit-money.org/this blogI am Serbian and my default language is serbian.The otheer language on this blog is Englisk.
    But if you click on “serbian” the text in Serbian show up properly,the category also,but below the Serbian text it is visible English text, it is not hidden.
    And also,if you click on ‘english” the text and category iz also properly,in English,but below english text Serbian is visible,not hidden.

    How to hide this,how to solve this?
    Thanks.

  364. 364
    dzonson Says:

    This is that experimental blog:
    Experimental blog

  365. 365
    dzonson Says:

    Now,I have no problem to write in two languages when I am writing posts,but to write bilingual pages.

    Like for posts also for pages I am using HTML tag for Serbian language and for English language but did not work,the pages did not show ap on the top of blog,like it’s not exist.

    Maybe this is happening because I did not put “.mo” file into wp-content…?

    I did not put into directory /wp-content/languages/ the “.mo” file of Serbian because the name of that file is “sr_RS.mo” , but the language code of Serbian is “sr”.

    HelloSam said that “.mo” fila and language code must 100% match,and I think it is not so in my case.

    HelloSam, or someone else, can you tel me should I rename “.mo” file,and how?

    Also,in the xLanguage widget on the blog I have no button for Serbian language,just have it for English.You can see that in this screenshot and I have no language buttons into post like HelloSam’s example on his blog.

    What I am doing wrong?
    What to do?

    This is experimental blog I am talking about
    I shoulg build bilingual blog for one my friend and this is the first time I work with some language plugin.

    I must say that Xlanguage is grat plugin!

  366. 366
    HelloSam Says:

    Dzonson,

    I checked your new blog, I can switch between SR and EN and it seems to be worknig correctly. Though in EN there is an Image but SR there is not. You might want to check the HTML tag is done correctly. Please use HTML source code mode to review the tag, you would see the text are tagged by <span lang=”en”> and <span lang=”sr”>, that’s how xLanguage doing its job.

    MO file is not needed for language switching and writing in multiple language. MO is just needed to get the translation of the buttons, links and those Wordpress stuff, but nothing related to your own post.

    For the icon, you have to make your own. I didn’t include every icon for every possible languages (there are thousands of thousands language in the world!). Please draw your own, or pick one from famfamfam.com, and put it in /wp-contents/themes/_your_theme_/view/xlanguage/images/ (create the folder yourself). Refer to “Complete Usage Guide 2″ for more info.

  367. 367
    dzonson Says:

    HelloSam,

    Thank’s for the answer,I’ll check what you said.

  368. 368
    Rudi Says:

    Hi sam, why language selection no come up in my admin text editor (wp 2.6), am i must use version 2.7 ??

    How to add language selection in sidebar without widget (manually) ??

    Regards

    Rudi

  369. 369
    Network Hardware Says:

    At 1st-used-network-hardware.com we’ve been buying and selling used hardware for more than a decase.

  370. 370
    Arto Says:

    I have a theme with hard coded text in the header.php. Is there a way to make that multilingual aswell? I tried span=”" but that didn’t work…

    Thanks

  371. 371
    sorin Says:

    #1 I use inove theme and activating xlanguage does make the blog menu empty. You can check my site, it didn’t removed the plugin yet because it’s really cool.

    #2 can you activate account creation on trac?

    #3 How can I show the “All languages” option on the language menu? I followed the instructions but I don’t see how can I tell to somebody to switch to “xx-all” lang.

  372. 372
    Martin Says:

    Hi there,

    I found and installed your plugin which seems to be just perfect to my needs: I am starting a blog and decided to have it bilingual (German/English). It installed smoothly, I have the option windows, added the two languages, activated the widget – but I am encountering two problems, one minor, one serious:

    1) There is no such thing as an xlanguage toolbar on my edit window (It looks, by the way, pretty different to your screenshot). How can I make the toolbar appear? Did I miss out something?

    1a) There is, however, a possibility to use a custom field called xLanguage_Available. If I add it, an “unspecified error” occurs. If I update the post, the custom field has been added, with the value “,de,en,”. What do I do with that custom field?

    2) The first language “Deutsch” (German) is written on the widget area on the blog – but there is no speech bubble next to it, just the text. The second language “English” does appear with such a speech bubble, sporting, however, only “E” and not “EN”. How do I make the speech bubble appear? Why doesn’t it in the first language? Can I change the speech bubble’s content, and if so, how?

    Thank you very much in advance and please keep on the good work!

    Regards from Berlin, Germany
    Martin

    I am using wordpress 2.7 and IE7.

  373. 373
    Spott Says:

    Hi

    I have problem with xLanguage. Switching pages works fine, but with xLanguage plugin function doesn’t work.

    Look to http://oniar.eu – there are diffrent places used this wp_list_pages. In header – all page names are included and showing the both language )I am using as separator in single line mode. But in footer and sidebar – its needed to have function – and this doesn’t work.

    What I need to add to theme, to get everything to work?

  374. 374
    Yogie Says:

    Hi,

    is there a fix or an example on how to set a tag correctly? I placed the more tag in each language section, but the first languange is shown up only, in the total view of the article the language works correct… to place the tag I used the TinyMCE editor..

  375. 375
    Andy Says:

    Hi,
    This may not be the preferred way to fix your More tag problem; but it seems to work for us.

    When creating a multi-language post we only use 1 more tag. If you consider your teaser text in each language is put before the more tag and the rest after then its simpler to understand

    eg

    language 1 teaser text (or intro paragraph)
    language 2 teaser text (or intro paragraph)
    language 3 teaser text (or intro paragraph)
    -more tag-
    language 1 rest of text
    language 2 rest of text
    language 3 rest of text

    Please let me know if there is a better way to do this.

    thanks,

  376. 376
    Yogie Says:

    Hi Andy, thanks for the hint and for me it works and it is ok to handle in that way…

  377. 377
    chocobo2k Says:

    Hello Sam,

    I have Worpdress 2.7 and xLanguage 2.0.1 installed (I upgraded from previous version). I am having a problem with flag icons. The xx.png does not show up at all. But the xx-active.png works fine
    I copied the flag icons to
    wp-content\themes\default\view\xlanguage\images

    and

    wp-content\plugins\xlanguage\view\xlanguage\images

    But still only active icon show up. I even went ahead and reset all options to default configuration and redid the add language but still same result

  378. 378
    Press Release Services Says:

    Wow, awesome plug-in. I never came across a plug-in like this. but it sounds so cool. I really want to try it out. but how is the stress on the blog? as i already have few extra plug-ins installed. Thanks for the awesome plug-in. Cheers

  379. 379
    Vielsprachig | da Gama är bra! Says:

    [...] kann, habe ich nicht nur Wordpress auf den neuesten Stand gebracht (Version 2.7), sondern auch das xLanguage-Plugin installiert. Mal sehen, wie das so [...]

  380. 380
    xLanguage Says:

    [...] (totally with title, rss, categories working, not just the post) and allows visitors to pick …..read more Download Plugin! Version 2.0.1 Last Updated: January 4, 2009 Author: Sam Wong, Huizhe Xiao [...]

  381. 381
    Jeremy Says:

    Hello you lot,

    I am using WP 2.7. and Xlanguage 2.4 works fine, but …

    1.)Although the title of the post is displayed correctly, the URL does not.
    if I use single line filtering mode e.g. TitleInEnglish|TitleInGermany in the title of my post and my default language is English the title of the post is TitleInEnglish
    but in URL there are displayed both titles English and Germany without pipe it means there is something like /lang/en-us/TitleInEnglishTitleInGermany

    2.)Question – It is really necessary to display /lang/en-us/? It would be better without this.

    Thanks
    Jeremy

  382. 382
    Jeremy Says:

    Sorry Xlanguage version 2.0.1

  383. 383
    Arto Says:

    The plugin works, except if I have a table inserted to my page. If I comment out the table, the rest of the page is translated. If not, it does not translate anything. Please help, thanks.

  384. 384
    Gimick Says:

    Hey Sam.

    at first i have to say: thank you – great plugin!!!

    I have WP 2.7 and xLanguage 2.0.1 and everything worked fine. I translated a few of many pages into 3 Languages (en,de,es). Today I wanted to do a few more pages, but instead of doing what xlanguage should do, it displays all of the three versions. Are any problems like that, or even solutions known?

  385. 385
    Pam @ Low Book Sales Says:

    Hey Sam, great plug-in. Tried it out and it started of like a charm. Loving it. Still converted it to de only. But it works great. Just thought to drop a word and thank you. Keep it up man. You rock. Cheers

  386. 386
    Gimick Says:

    I had further problems with your plugin but found out an interesting thing:
    if i modify the style of my text for example like this: text and i want to do it in a special language it only works like that: text

  387. 387
    Personalized Childrens books Says:

    Hey, that’s an awesome plug-in. I’ve got few users from different countries and this was ideal for them. I implemented it few weeks back and the feedback is awesome. Just thought to say thank you and say hi. Cheers

  388. 388
    Patricia Martin Says:

    I need language switching between Spanish and Portuguese but basically for the menus, pages, category names, etc (the static content)

    However, I don’t want to post different content for each language in my posts. I was wandering if the method that xLanguage use will reduce much duplication work.

    If I understood right, after I set up the basic bilingual navigation, I would’t have to do any tagging or customizing in particular with the posts, since both versions of the blog will share the same multilanguage post content, right?

    II’ working with WP 2,7 localized in Spanish with Arthemia Premium theme, also localized in Spanish)

  389. 389
    FX Says:

    I have been looking for a plug in like this for a long time. I hope it works as good as advertised. If so, I will be one happy camper.

  390. 390
    juan Says:

    It would me nice if you includ the some cool features qtranslate have, I think yor plugin is better, but if you include the qtranslate stuff, you are going to be invensible.

  391. 391
    Patty Cravitz Says:

    I’ll try this out, thanks for sharing. Yes, I am also grateful you translated the language to english as well. What plugin did you use to translate your text?

  392. 392
    Juan Viega Says:

    Dear, how do I change of language on a page?

    I have a little div with some flags, which link should I put on each flas to display the language?

    thanks

  393. 393
    Simon Wheatley Says:

    Great plugin, thank you, although I found a couple of issues while trying to get this working with my setup:

    Some of the views used <? rather than <?php to open a PHP code block, and my server wasn’t parsing these as PHP.

    The version of John Godley’s Plugin class you’re using has been updated to cope with the new WordPress capability to have your plugins, themes, uploads, etc outside the main WordPress directory.

    My suggested fixes are here as a diff, in case you are interested.

  394. 394
    Allen McDaniel Says:

    how do I change of language on a page?

  395. 395
    Nebojša Says:

    @Allen McDaniel
    Use parser “Square Brackets”…

  396. 396
    Nebojša Says:

    And you shopuld unckacked “Filtering” mode in “Language (Advanced)”

  397. 397
    eric Says:

    hi. can i use xlanguage translate the navigation bar into other language. how can get the same function like your blog?

  398. 398
    Nebojša Says:

    @eric…
    If you have Conten filtering “enable” you will have the problem with pages into navigation bar.The “enable” should bu unmarked like in this screenshot.
    I am using Sguare Bracket,and into the same post you should write bilingual texts…

  399. 399
    frank Says:

    how can i choose to use another Theme instead of the default one for some languages in the “Presentation” ?

  400. 400
    Memografía » Four ways to make your WordPress blog multilingual Says:

    [...] xLanguage (plugin page and example) [...]

  401. 401
    Alex Malone Says:

    @Allen McDaniel
    Use parser “Square Brackets”…

  402. 402
    rudi Says:

    Pls can anyone tell me, how to use this plugin when im using static page as a front page ??
    I’ve add 2 language (English and Indonesian), if i try to change language in my front page, its displaying my latest post, not the static page that i choose from admin.

    im using WP 2.7
    and xlanguage 2.0.2

  403. 403
    nik9 Says:

    Yey – OK, got it resolved by changing Permalink setting in WP Settings from Default (I used “Day & Name”)

  404. 404
    improve my credit score Says:

    That’s a really cool plug-in. I definitely try this one out. Too bad I didn’t come across it earlier. Nice work anyway. Love the idea for the plug-in. Cheers

  405. 405
    bea Says:

    I have instaled the plugin and every thing looks ok, but when I try to go to the spanish version, I get the next error: “The browser connected successfully, but the connection was interrupted while transferring information. Please try again.”

    Help me please
    Bea

  406. 406
    Jakob Says:

    How do I get the language to show up in the sidebar?
    Also when I try to tag in different languages, all I get is a strikethrough effect and both languages will show in the blog.

    How do I fix this?

    I’m using Mac Os X Leopard and Safari browser.

  407. 407
    Hossam Says:

    Very helpfull..

  408. 408
    Days go by | Pavel Seraphimov's Blog Says:

    [...] trying to investigate the code, however, my php coding is a little weak for this. I tried with the xLanguage plugin, but unfortunately it has some installation issues. Nevertheless, I wrote in the Supporting [...]

  409. 409
    lasse Says:

    Hi!
    Im wondering how i get rid of the text missing message i have som products in one lang only and dont want anything to appear in the other. using custom fields.
    Thanks for a great plug-in/Lasse

  410. 410
    Henk Tummers Says:

    I have a webshop and I want to sell to Dutch and English visitors. Your plugin is just what I needed. At least I thought so. Because it looks like it is not possible to make the e-commerce plugin by Instinct multilingual. Am I right?

    Regards.

  411. 411
    best savings account Says:

    That’s a really cool idea for a plug-in. It will be really useful for most of the bloggers nowadays as many people from different countries visits blogs. Nice plug-in. I’ll give it a go in the weekend.

  412. 412
    lasse Says:

    HELP!
    I dont want anything to be displayed if text is missing in one language how do i do this???

  413. 413
    Kelly Allen Says:

    This is very intelligent thing and promote our web in different country where English is not understand
    we can used it in any country really cool:-p

  414. 414
    Henk tummers Says:

    Hello,

    I’m a newbie and I have a question: The URL of my starting page ends with /blog. Now when I click the language switch on the starting page, the URL becomes /blog/?lang=en-us, resulting in a syntax error unexpected T_STRING. (on all other page I don’t get this error) What can I do to prevent this parse error?
    Please help/

  415. 415
    Henk Tummers Says:

    To other newbies: I solved the question from my earlier post (syntax error) by changing the permalink structure to numerical.
    Thanks.

  416. 416
    sarut Says:

    I’m a bit wondering. how could we changed some picture within the theme or even make theme by oueself?

  417. 417
    tour guide Says:

    I operate many different blogs that are popular in different countries. However my main language is English and it would not be proper for me to try to write in any other languages due to my handicap. This xLanguage plugin for Wordpress would greatly assist me in communicating my blog to all users that visit my sites. Thank you for the detailed write-up and your help is always greatly appreciated.

  418. 418
    Eric Jones Says:

    and xlanguage 2.0.2

    supportive?

  419. 419
    Jeff Says:

    有谁知道要怎么让 Theme 本身的页面也能运行多语言呢?
    比如在 sidebar.php 加了一些字句需要中英文的版本。谢谢!

  420. 420
    Seahawks Spot Says:

    Thanks for the tips. I am trying to offer my blog in many languages and this will help me a lot.

  421. 421
    ToothbrushNomads Says:

    I’ve got the same issue as Jakob. I have managed to highlight the languages when writing a post by using the control keys. However, once I visit the post on my blog, both languages show up. I’m using Windows XP and browsed with Firefox + IE. Same results. Any ideas?

  422. 422
    Nadeesha @ ROCKFUSE Blog Resources Says:

    That’s a really useful and fun plug-in :) Great work with it. Language support has now come to many of the products we use and it’s really good to see blogs also supporting many languages. Keep up the good work. Cheers

  423. 423
    Fernán Says:

    First of all thanks for this great plugin. It’s amazing and it suits my needs for blogging. I have a question. I have a blog in Spanish, English and Icelandic. Sometimes I translate the text into all the 3 languages, but sometimes I just blog in Spanish and English. So if an Icelandic user comes to the entry I would like to show them the text in English. However, although I have set English as a fallback language for Icelandic and it seems to work in the titles, it doesn’t work in the entry text (it doesn’t display the text tagged as English). How can I fix this? I don’t want to filter the posts.

  424. 424
    Jay_time Says:

    By the way: I downloaded and installed the latest version: 2.0.2 but in Wordpress it says I am using 2.0.1 (plugin section of the Dashboard).
    So I am not sure what version I am using: 2.0.1 or 2.0.2.

    Grtz, Jay

  425. 425
    Jay_time Says:

    sry to spam your blog, but there’s one other thing: I enabled the filter and all of its settings, even rebuild the index twice but when switching between the two languages it still shows all posts for both languages, even when I disable (by removing the lines) the fall back settings.

    Leaves me to say that your plugin is awesome and nearly perfect ;)

  426. 426
    Financier Says:

    Hi, Sam, do you know why you get so many comments? you should learn some SEO knowledge and then you get the answer

  427. 427
    Juan Says:

    I have added 2 flags on my sidebar, but I want when you are ina determinate post, when you click on a flag, it translates the current page. Actually in my site it goes to the main page (translated)

    how can I do?

    Which is the php code I should inster as a link?

    thnks

  428. 428
    Albrecht Says:

    Nice and vers useful plugin !

    One problem – The offical German locale code is “de-DE”. Unfortunately the plugin doesn’t take this. It only takes lower case letters. To work around this I take the de code and have to copy the offical de_DE.mo file to de.mo which isn’t nice. Can you please adjust this for the next update ? There are other locales wiith uppercase letters too (e.g. en_US).

    Regards, Albrecht

    PS: Is there any way to get rid of the “lang” string in the URL? I would prefer to have only the locale code in my permalink

  429. 429
    multilevel networking Says:

    There is no doubt this plugin would be very useful in making sites more accessible. Keep up the good work.

  430. 430
    write Says:

    nice share

  431. 431
    write Says:

    Cool tool thanks for posting this up

  432. 432
    Antivirus Says:

    I had trouble with your v2.0.1 and I had to remove it. But few days back I gave the newer version a try and it worked perfectly. Thanks for the wonderful plug-in. Keep it up. Cheers

  433. 433
    Jay_Time Says:

    hi Sam, I’ve figured it all out! the issue I had with the filter (comment #425) is fixed. I hadn’t noticed the xLanguage custom field (in the dashboard post edit page) where it says what languages a post supports. probably i had to rtfm :p
    A minor issue on that: after regenerating the meta data, articles are given both language codes in this custom field. even if it isn’t translated. that can be set correct very easily manually though.

  434. 434
    Don Says:

    Sam,

    Great plugin! One thing, I was having trouble getting more than one flag to show up, and so I was digging around and found that in the /xlanguage/view/xlanguage/list_langs.php file there is:

    and my server was tripping up on that, so I changed it to:

    That worked better!

    Also, I understand the filtering method works just fine, but it you the date can be pulled from mo files, are there other strings that can be automatically done as well?

    Thanks,

  435. 435
    Don Says:

    Ok, evidently that didn’t display as planned, but I found an opening php tag there it was just “«?” and not “«?php “

  436. 436
    Albrecht Says:

    Flags are working fine for me without any change in the code. I embedded the code into my template which I am going to “make mulitlanguage – aware”. Works fine …

    Again: The /lang/.. string in the URL is a real show stopper for SEO aware blogs. Should be solved very soon – Can anybody help ??

  437. 437
    Albrecht Says:

    Re: language code:

    The plugin requires a 2 to 4 letter code for the language locale. The pattern is “xx” hyphen “xx” all lowercase. Wordpress itself requires 2 to 4 letter code with the pattern “xx” underscore “XX” last two letters capital. Running xlanguage out of the box, man has to rename all its .mo files provided originally by wordpress to match the xlanguage “xx” hyphen “xx” pattern and get things to work. Also SEO …..

  438. 438
    HelloSam Says:

    I will try to come up with a better idea so renaming wouldn’t be needed, but so far there isn’t such a plan just yet…As it’s a one-time operation anyway.

    For SEO, you could try the following in the configuration:
    1. Create a language called “all”, mark it as the default for Search Engine
    2. In Language (Advanced), in the “Mix and Match” table, specify in the “Show” box of “All” to includes all your language, comma separated.
    3. Try to use a browser and preview how does your site look in /lang/all, make sure it all languages are shown there.
    4. Back to the Language (Advanced) page, in the “Presentation” table, allows Search Engine to ONLY see the “All” locale, and User to ONLY see those “non-All” locale.
    5. Then now, all the search engine can see are “all”, and there won’t be /lang/xx for the search result, because such a link is not available!
    6. You could use UserAgent switcher to verify this setup.

  439. 439
    free wordpress themes Says:

    Sorry my english firstly, i read well but i cant write :) , So its useful post for me and i bookmarked your blog.

  440. 440
    loocas Says:

    Hi there,

    first off, thanks a lot for a great plugin!

    I have a question, rather of a cosmetic matter, how do I remove the language indication “bubble” icon to the left of the language name on the main page (like here on the upper-right corner)?

    Thanks!

    - loocas

  441. 441
    cj Says:

    Thanks for a great plugin.
    But, when I moved the site from /var/www to /var/www/testserver I experience a problem with the header.
    what do I need to do with these warnings?

    Warning: fopen(/var/www/site/wp-content/uploads/2008/10/xlanguage-parser-176060526809320669.log) [function.fopen]: failed to open stream: No such file or directory in /var/www/testserver/site/wp-content/plugins/xlanguage/admin.php on line 156

    Warning: fclose(): supplied argument is not a valid stream resource in /var/www/testserver/site/wp-content/plugins/xlanguage/admin.php on line 157

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/testserver/site/wp-content/plugins/xlanguage/admin.php:156) in /var/www/testserver/site/wp-content/plugins/xlanguage/xlanguage.php on line 243

  442. 442
    albert Says:

    hi, thanks for the plugin!

    how can I change language in a button in the header?

    really thanks!

  443. 443
    James Says:

    谢谢您

  444. 444
    cheapipod Says:

    great sharing. this is a great plugin

  445. 445
    Arno Says:

    I get an error when using the following piece of code:
    $posttags = wp_tag_cloud(array('format'=>'array','number'=>20));

    The error looks like this:

    Warning: preg_match() expects parameter 2 to be string, array given in /var/www/vhosts/arnom.nl/httpdocs/wp-content/plugins/xlanguage/xlanguage.php on line 509

    Could you have look at this?

    Thanks!

  446. 446
    Dibujor Says:

    Hi there Sam. First I must say this is the greatest wordpress plugin I’ve found so far. I’ve been using it for almost a year or year and a half. But I have a problem… since the last version I have this

    [code]
    Warning: fopen(/home/.wooshie/dibujor/ejeda.com/wp-content/uploads/2008/06/xlanguage-parser-1341106798274786538.log) [function.fopen]: failed to open stream: No such file or directory in /home/dibujor/ejeda.com/wp-content/plugins/xlanguage/admin.php on line 156

    Warning: fclose(): supplied argument is not a valid stream resource in /home/dibujor/ejeda.com/wp-content/plugins/xlanguage/admin.php on line 157

    Warning: Cannot modify header information - headers already sent by (output started at /home/dibujor/ejeda.com/wp-content/plugins/xlanguage/admin.php:156) in /home/dibujor/ejeda.com/wp-content/plugins/xlanguage/xlanguage.php on line 243
    [/code]

    apearing in my dashboard (withou the ‘code’ of course). I haven’t changed any configuration from my blog, nor the location or host or anything. Just apeared one day for, apparently, no reason. I’ve tried to upgrade Wordpress to resolve the problem, it didn’t work, updating xlanguage doesn’t work either. Currently I have Wordpress 2.7.1 and xlanguage 2.0.3

    Fortunately you can’t notice any problem visiting my blog but it’s really annoying having that error lines OVER the header of the dashboard……

    any help?

    anyway, THANKS again for your really good plugin

  447. 447
    HelloSam Says:

    Sorry I am real busy in these days. So here are a quick hint that hopefully could be useful – check the existence of the file (the log file that it is complaining). If the file is not there, simply create an empty one, and allows the web server to write into it – which usually means chmod 777.

  448. 448
    Dibujor Says:

    Hi Sam, thanks for your quick response. I think the problem is here “Warning: fopen(/home/.wooshie/dibujor/ejeda.com” , that .woosie part between /home and /dibujor. I’ve received a mail from my domain hoster saying that they’ve changed my account to another server. This isn’t a problem (I didn’t noticed at all) save for this problem with xlanguage. If I deactivate xlanguage there’s no warning at all so…. there’s some place where xlanguage calls for this path instead of a plain /home/user ……. that’s why it can’t find the .log file. Where can I change this behaviour?

    Thanks again Sam…take it easy, and have a rest man. :)

  449. 449
    Dibujor Says:

    I’ve done as you said… the file IS there and with 777 enabled. Error message still appears so, I think the problem is what I said before…. the path. Where can I modify that route?

  450. 450
    Tiina Says:

    Hi,
    I’ve read all the comments and noticed many people having the same problem as I am, but you haven’t answered.. I have activated the plugin, tagged the texts (xhtml) and made sidebar function and the prefix appears in the url. But plugin does not hide the “wrong language” -tagged text, they both appear simultaniously. When tagging, editor shows a strikethrough effect and code seems to be right, adding span lang=”fi” or span lang=”en”. I’m using finnish as primary and english as translation, using codes “en” and “fi”.

    Also when trying to use square bracket mode, plugin added the bracket to the visual editor making it visible in the post/page. So it looked like this to readers: [langen]text text text[/langen]. The XHTML span-tag doesn’t have that problem but still won’t work properly.

    I have read your user guides a hundred times but still not finding the solution :( PLEASE help me, I really want to make the plugin work!!

  451. 451
    Tiina Says:

    Forgot to say, I have display filtering enabled, no mix&matches and my page is xhtml valid.

  452. 452
    Volker Says:

    @Tiina
    As far as I know, the default tags for you should include the bracket character: [lang_en], [/lang_en], [lang_fi] and [/lang_fi].
    Did you change this format in your settings?
    If not, please use the tags above instead of the ones you mentioned.

  453. 453
    HelloSam Says:

    @Tiina,
    I recommend using XHTML over [lang_...] because it makes less cutters and cleaner code, however XHTML mode requires your post to be absolutely XHTML valid and parsable – which the WP editor is known to not always producing one.
    Especially if you have the more or nextpage tag, you have to make sure the HTML tag does not span across it.

    So back to the topic, the [lang_en] should work, but as Volker pointed out, it’s [lang_en] but not [langen].
    XHTML should also work, start trying with simple “Hello, World” post before you start tagging a complicated multi-page teaser enabled post. If the XHTML encountered is not valid, it will be logged. The log can be retrieved in the 4th xLanguage options page.

    Also try to change the Subject to “Language 1|Language 2″, if even this are getting filtered, something obviously went wrong. May be the plugin, configuration, or some other plugin and theme you are using.

  454. 454
    HelloSam Says:

    @Dibujor:
    So you said your absolutely path changed?…hm…you can either change it correctly if you dig into the WP MySQL database and change it…
    Or the only workaround I can think of right now is to start over – reset the settings (3rd options page) and recreating everything again.
    Good news is that you won’t have to retag all the messages and posts.

  455. 455
    Dibujor Says:

    Hi Sam, thanks!. I made as you said. Reset the settings to default worked like a charm and it wasn’t so hard to enter the settings again. But now I’ve found another problem…. as you can see in my sidebar, the splitter doesn’t seem to work in the “links” section. I use a widget to display my links and the title of the link categories is splitted like this ” Amiguetes|Buddies” and that is exactly what is shown entirely, instead of “Amiguetes” for language 1 (spanish) and “Buddies” for language 2 (english). It worked well before and I haven’t changed anything. It works well now in any other part of the blog, except for this… any help?

  456. 456
    Dibujor Says:

    Hi Sam, sorry for been bothering you. I’ve fixed the links error, just adding “link_category” to the single text filter hooks. I usually search before asking for help but……

    well, I have the same error displaying the tags under my posts. Not all posts have tags but whenever they are, they show as “trabajo|job” (or whatever). I’ve added “the_tags” in ALL the hooks but it isn’t displaying properly……. perhaps I’m using the wrong filter?

  457. 457
    Wordpress-Sites in mehreren Sprachen Says:

    [...] lediglich Blogposts in unterschiedlichen Sprachen verfassen möchte, könnte mit xLanguage bedient sein. Auch dieses Plugin wird jeweils auf die aktuellste Wordpress-Version angepasst, [...]

  458. 458
    Wordpress-Sites in mehreren Sprachen / Design, Webdesign / Seraph Design Solutions // Webdesign, Printdesign, Leveldesign // Portfolio von Benjamin Schulz Says:

    [...] lediglich Blogposts in unterschiedlichen Sprachen verfassen möchte, könnte mit xLanguage bedient sein. Auch dieses Plugin wird jeweils auf die aktuellste Wordpress-Version angepasst, [...]

  459. 459
    Alex Says:

    Hi Sam, First – thanks for the plugin. I am working on getting you food!!

    A small question: I there special problem concerning tags. I have a and nested your text into this .

    Problem is switching language only works when I put the … into a leading followed by a .

    Next problem is that when I switch from “html” to “visual” view in the editor the … is gone and language selection doesn’t work either.

    Any help appreciated !!

    Alex

  460. 460
    Alex Says:

    Ok that didn’t work at all… All my editing in the comment is gone. Sorry about that. Let me try to describe my problem then.

    I am creating a div in my post and I nest the text for the two languages inside the same div.
    Problem is it only works when I put a paragraph tag around the language tag inside the div.

    The real big problem is that the paragraph tag is gone after I switch from “html” to the “visual” editor.

    I can only test it in preview. As soon as I sae the post the paragraph tag is gone too.

    Any help appreciated !!

    Alex

  461. 461
    Dibujor Says:

    Hi Sam,

    I have another question, this time related to SEO. Following your recommendations I’ve setup a third language (All) and mark it as the only available to browsers (and not the users). I’ve redone my sitemap and sent it to google. I can see all the URL’s on my sitemap have the “/lang/all” thing on them (I don’t know how the users will see this when they make a search via google…) but now, reviewing your sitemap.xml (I can’t find any other user with xlanguage AND a sitemap.xml), I see your URL’s don’t have that /lang/all part, just the plain usual url’s.

    How have you done that?

  462. 462
    Michael Says:

    Hello Sam,

    first of all thank you for the very good plugin!

    However, I’ve got a problem.

    I use a theme with its own PO file and original English version of WP 2.7.1. The theme uses _e() and __() as appropriate.
    When I invoke load_theme_textdomain(‘themedomain’) from theme’s functions.php, I see no translation at all. When I use ‘default’ as the domain name, it works fine, but I have a trouble if I install same language PO in wp-content/languages – the translations seems to be merged and I often have a translation from languages’ PO instead of the theme’s one.

    What can you recommend?

  463. 463
    BIllig Fliegen Says:

    Does it work without any problem with wordpress 2.7.1? I have a project in mind where I could use your plugIn very good. A short yes or no would be perfect – thanks.

  464. 464
    BlogCreator Says:

    Hello. The plugin is working great, except for one big problem that I have: I can see all the posts translated to the different languages, except in the HOME page, where it shows you a brief introduction text of each post, but always in the same language, no matter which language the user selected.

    Any help?

    Thank you very much.

  465. 465
    Naomi Says:

    Could you translate everything in English.Thanks in advance.

  466. 466
    victor Says:

    Hi. Great plugin, but I do have one question:
    say I have two languages set up on a website. And I would like to set language no.1 for all visitors, nevermind their browser preferencies, cookies or else. Simply, every new visitor should see the site only in language no.1 and then, if he wants, to be able to switch to no.2 if he likes.
    I was trying to play around with the preferencies of the plugin, but no luck there, is there a workaround for this?
    thanks in advance

  467. 467
    Paris Hotels Says:

    I am going to build up and search site for hotels in different languages. Maybe your tool exact what I am looking for – I will test it and till I know more I want to thank you for sharing.

  468. 468
    binomsc Says:

    Hi HelloSam, hi Dibujor,

    I came accross the same problem when changing my hosting company for my main blog. And then again when I upgraded and the hoster changed my webspace. The reset worked fine for the main blog (running on WP 2.6.7) but it crashed my admin panel for my other blog (http://www.binomsc.com) .

    I asked my friend who knows php better. He suggested to use “DOCROOT” or “SYSROOT” instead of “dirname(__FILE__) and use this feature regularly (e.g. every day) to update the path to the logfile.

    Pls help / change / update! Some lunches are promised :)

    Martin aka binomsc

  469. 469
    Er Rise Says:

    Hi, anyone knows how to prevent xlanguage to display the available languages on my post custom fields? I’m Using this outside of the loop ,
    , and on each post I get” xLanguage_Available: ,es,en-us,”.

    Thanks!

  470. 470
    Wordpress-hjälp: Wordpress-plugin II | Björn Sennbrink Says:

    [...] xLanguage Ett plugin för du som bloggar på flera olika språk. xLanguage låter besökaren välja mellan vilken språkversion av bloggen som denne vill läsa. Användargränssnittet är dock inget för nybörjare och kräver viss erfarenhet av Wordpress. Relaterade inlägg:Wordpress 2.6.2 och säkerhet [...]

  471. 471
    Company Logo Design Says:

    I just started off with xLanguage and working smoothly for me. Even though i got that error “can not redeclare class xLanugagePlugin on line 996 in xlanguage.php” i managed to scroll down and make it through. Because i have seen some installations like that before. In fact this article could be very useful for someone to solve their problems with xLanguage. Thanks

  472. 472
    luci Says:

    I get the folowwing error: Warning: Invalid argument supplied for foreach() in /home/public_html/wp-content/plugins/xlanguage/view/admin/language.php on line 102

  473. 473
    Vikson Says:

    Thanks for the instructions.It is really helpful.Keep it up.I will back
    to read something else.

  474. 474
    James Mernin Says:

    I also see the same problem as Arto in Comment #383 – whenever I have a table in my page, none of the pages is translated.

    I am using Wordpress 2.7.0 and xLanguage 2.0.3.

  475. 475
    James Mernin Says:

    Further to my earlier post about inserting a table causing translation to break. I find that if I add a paragraph tag around the text inside my table cells (and also around the used by xlanguage), the problem goes away. However, each time I switch back to Visual view in Wordpress, it removes the paragraph tags (presumably because it thinks it does not need them).

  476. 476
    Alex Says:

    re: James Mernin: I get the exact same problem. I posted here a few weeks ago to no avail…

    I tried the plugin “wp-unformatted” but that didn’t help either. I am sure our problem is with the main editor of WP. It re-formats the html content if you go back and forth between “visual” and “html” editing. As long as you stay in the “html” editing mode all is fine. But I had to configure a blog for a non html person. Therefore I solved the multi language through tags and deactivated the plugin. But now we need seperate articles per language: more…

    Maybe someone here knows how to disable auto-format in the WP editor for good?

  477. 477
    James Mernin Says:

    Alex: You are correct that the Wordpress editor has a part to play here but I think that xLanguage just isn’t handling the effects of the WP Visual editor correctly. I have noticed that if you eliminate *all* white space between paragraphs inside your table cells (or explicitly add tags as I recommended), then the translation works fine. In fact, you can use any characters except spaces between the paragraphs.

    However, like you said, as soon as you switch to the WP Visual Editor, Wordpress replaces some of your carefully formatted HTML and xLanguage breaks again.

    I also noticed that some older HTML that is not XHTML compliant also breaks xLanguage (e.g. img tags are typically not terminated in HTML and this means that they are invalid XHTML)

  478. 478
    Photo Retouch Says:

    That’s a really cool plug-in. but does it affects the performance of the blog? with all the content it needs to load? I’ll check this out tonight. Thanks.

  479. 479
    xLanguage Wordpress Plugin The Network under | Cast Iron Cookware Says:

    [...] xLanguage Wordpress Plugin The Network under Posted by root 20 hours ago (http://hellosam.net) Enable wordpress to do multilanguage posting totally customizing your wordpress all my editing in the comment is gone sorry about that i am working on getting you food a small question i there special problem the network under the bright bright sky is pro Discuss  |  Bury |  News | xlanguage wordpress plugin the network under [...]

  480. 480
    Confronto Mutuo Says:

    That’s a really cool plug-in. but does it affects the performance of the blog? with all the content it needs to load? I’ll check this out tonight.

  481. 481
    Medical Website Says:

    This is a rally useful plug in. But i suggest if it can help some of the scientific terms properly it would take users far away with this. Hope there will be better upgrades soon.

  482. 482
    Find Anyone Says:

    That’s a really awesome plug-in. I came across few of these before but not as great as this one. Thanks for the information. I’ll check this out and see. Cheers. Keep up the good work.

  483. 483
    sfk Says:

    I have big problem. When I formatted some text (for example to list, heading, bold or something else) nothing to be translated. I see formated post on every language on same site. In html code is chaos. I clear my html, but nothing help for translate. When I not formated one text, everything is ok. What you say for this?
    I try qlanguage plugin, but it is not work for search on different language, how work xlagunage. Now I try zdmultilang first with or without xlanguage.

  484. 484
    sfk Says:

    I try this plugin: “PS Disable Auto Formatting” and work xlanguage with formated text such list, table, heading etc… I activate this plugin while I formated text. After post entrys: both (with visual editor and html editor) formated text is now visible only on own language site, but everything is deformating. I must edit all css files and template files on my theme (index.php, single.php,archive.php …) to format again all entrys. This is not a simple way to haeven, but work… But when I inactivated “PS Disable Autoformating” plugin. All formated text kept our format in right format after deactivation. May be not necessary edit css and template to change my life… What you say for this? Am I really stupid?

  485. 485
    Nagore Says:

    Hi,
    I think this is a great plugin and I am really excited tying it on my website.
    Now, I seem to be missing something.
    I have published something in english and spanish for test.
    I have figured out that if I change the ?lang= property manually in the url, it displays the language I want.
    And also figured out how to link to archives in each language,
    but I can’t figure out whether or not this plugin will create automatically a button for changing languages.
    I’ve seen that in this blog it gives the option of changing language at post meta data line and also on the side bar.
    I admit that I have modified both the meta line and the side bar before trying this language plugin.
    I only wanted certain things to display. Could that be causing the problem?
    Is this plugin supposed to create these language buttons?

  486. 486
    Ben Middleton Says:

    Is there a way to specify the translations for the “Archives” and “Meta” sidebar widgets? Not the translation for the titles, but for the links in those widgets? i.e. “June 2009″, “Site Admin”, “Log out”, etc

  487. 487
    Kristijonas Says:

    the same question. is there a way to use this plugin just for sidebar? i mean is it possible that the user could only change language for my sidebars text?

  488. 488
    binomsc Says:

    @Kristijonas: Just do not translate any other content on your side? :-)

  489. 489
    Ben Middleton Says:

    Also, what is the best way to go about translating a lot of the “default” wordpress text. Stuff like

    Posted by on · Leave a Comment

    Filed under , tagged with

    Speak Your Mind

    Tell us what you’re thinking…
    and oh, if you want a pic to show with your comment, go get a gravatar!

    Logged in as . Log out

    Submit content

  490. 490
    Kristijonas Says:

    binomsc: i need to change page titles, that i see in my sidebar, not the content inside. found something about it in the manual, (Widget Title Customization) but didn’t get it…

  491. 491
    Kristijonas Says:

    ok, i got it. but what about Tagline? When i add tags around it, i can see whole text in page (with span tags). Should i hook it somehow, so it would work the way i need?

  492. 492
    Anja Says:

    ok, I have the plugin install. now show with WP 2.3.3 fatal error
    I have gone wrong? Thank you

  493. 493
    Dahilde işleme izin belgesi Says:

    Thanks for usefull post, good luck!

  494. 494
    Card Offers Says:

    Seems like xLanguage is a very efficient plug in for people who use other languages. Specially for Asians IMO. Tell me more about this plug in. Like how many languages does it support etc.

  495. 495
    Alex Says:

    Yet another dead student project? OpenSource is cool, BUT… Is anything EVER answered here? Did you starve? Did you abandon the plugin? Can you imagine thet there are people trying to get your stuff to work and you just sitting there and meditate in silence doesn’t help.

    A bit anoyed… Either answer, update the plug or shut the whole thing down.

  496. 496
    James Mernin Says:

    Well said Alex!

    This is a great plug-in but is flawed in a number of key areas for me and I’m beginning to lose patience with it. It is annoying to see so many comments go unanswered. What’s more, the number of comments here really warrant the creation of a proper forum for the plugin. What we are commenting on here is no more than a single blog post.

  497. 497
    binomsc Says:

    @Alex and @James Mernin:

    Very demanding posts…

    May I ask you whether or not you already donated something to finance Sam’s work? Or are you expecting full time work and 24/7 support for free?

    And even if it is a “dead student project” – it is open source, so start to maintain/improve it yourself! You are not able to? Then go and hire some experienced php-developer to fix it for you. You don’t want to pay him? So… then I would expect you to be a bit less demanding – or find some other – better – language plugin. Good luck.

  498. 498
    James Mernin Says:

    @binomsc

    I guess you could say that our comments are demanding but I prefer to think of them as constructive and honest. I posted a number of progressive comments some weeks back that tried to focus in on one of the problems I was having in the hope that it might provide extra details for Sam for the next release. When others would have moved on to another plugin, I took the time to stick at the problem so as to be as accurate and precise as I could, but to date have received no response.

    That said though, I do accept your point in the spirit in which it has been put and certainly do not expect full time or free support. I guess this plugin is a victim of its own success as the volume of comments on this issue suggests.

  499. 499
    binomsc Says:

    @James Mernin

    Thanks for your respond. And you have a point, too. Probably Sam is really “overrun” by the success.

    I just think this is a great plugin. Even if it has bugs – it is the best I found by far, and it was developed by just one guy. Maybe he is just on vacation, or has to pass some exams ;-) That’s why I was upset about Alex’ post (and your agreement) and decided to react…

    BTW, Sam sent me a short email last time I posted a request/suggestion saying that he will be busy next days and weeks but will review it asap. Probably, because I also made a small donation – which is just fair IMHO.

    So let’s hope Sam -or some other developer – will find time to support and fix some stuff.

  500. 500
    HelloSam Says:

    I wish I am still a student but I am not…there was so much free time by then. I must honestly admit that I am devoting much less time on this project while I’m engaged in something else now.
    @Alex, @James Mernin, @binomsc
    I appreciate your comments and understand that those are from your heart and in good faith. Only those who cares will leave such a critical comment, those who doesn’t care would have left right away.

    BTW, I’ve followed up your questions in email. Let me know if you have further question, or if you can’t receive my reply, or anything…Thanks.

  501. 501
    Bagaimana Membuat Blog dengan Dua Bahasa atau Lebih? | patembe dot com Says:

    [...] xLanguage oleh Sam Wong, atau [...]

  502. 502
    Alex Says:

    Hi Sam,

    Thanks for replying, and even through email. I am sorry about my comment. Sounds harsh when I read it now…

    But hey, it helped, we got an answer!! And thank you for that. True that I stuck and will stick with the plugin. It’s concept of not having to put in separate articles for the separate languages is great !!

    @James Mernin: I can only second what you said. You really exactly put it the way I meant it. Because I stuck with the plugin I got annoyed that it was screwing with me and that’s why I posted here again.

    @binomsc: Thank you for your words. I like it when people speak up. I’m not an ass, I love what I do and then it can be that I get emotional about it. But I did post quite some time ago and I did spend many more hours on my blog because the language formatting would get lost alllllll the time. And no I haven’t donated anything. Shame on me. But my pockets are empty too and I got mouths to feed… I will – promised (now that I know I need to post at wordpress for fixing the syntax reformatting :) )

  503. 503
    David A Says:

    Hi Sam,

    First off thank you for the wonderful plug-in . it is fitting my needs very well. I have a question and hope someone can offer a simple answer. If I would like my Categories names and Navigation bar translated, what code goes where. I’m new to this and can not figure out this step. I will be complete when I do this.

    Thank you or anyone who can help in advance.

    I’m sure it’s not as complicated as I’m making it, but I just can’t figure it out.

  504. 504
    HelloSam Says:

    @David A
    To translate the system text, please use the MO file. Please refer to http://hellosam.net/project/xlanguage/4

  505. 505
    binomsc Says:

    @David A

    Have you tried to use the separator: | ?

    You did not provide your website, so I can not check if this is the problem, but try it.

    If you have a category like “Games” and want to have it in Spanish as well, the category name should be changed to “Games|Juegos”. Same for navigation – your navigation is probably the name of a static page, isn’t it? If your page (which is a navigation item) is “Contact”, and you want to have it in Spanish, you should change the title of the page to “Contact|Contacto” or something like that.

    BR
    Martin

  506. 506
    albuterol Says:

    Hm…need to try it. Hope It will fit my needs the best.

  507. 507
    Twinmold Says:

    Hello. I guess you get this a lot, but can we expect a wp2.8 update of the plugin anytime soon?

  508. 508
    wayo Says:

    There’s still a static page bug when the permalink settings are set to “Default”.

  509. 509
    Ute Says:

    Hi,
    I installed this yesterday but the buttons in the editor do not work properly when using the newest safari 4 version on the mac. When you click on the language button, the highlighted text is struck through. All ok in FF however :-)

  510. 510
    Yireh Says:

    the separator “|” works smoothly in all sections, but….
    I don’t see the toolbar at all!!!

    This is so weird….Can anyone help me plz?

  511. 511
    Twinmold Says:

    I installed this yesterday

    Hey Ute, which version of WP are you using?. I still can’t use xLang with 2.8 :(

  512. 512
    HelloSam Says:

    I don’t have an ETA for 2.8 update yet. Stay tuned.

    Toolbar – I admit it might not work well in different browser. That’s a real hard thing to tune.
    If you don’t see the toolbar, try clear all your browser cache and reload.

  513. 513
    david Says:

    are you sick of been skint? my site has some solutions to make you money for free check it out

  514. 514
    fle Says:

    Hi everybody using xLanguage, … , even it’s good plugin has also some problems … maybe someone can help to solve them … anyway thnx for developing this plugin

  515. 515
    maskeiw Says:

    Hello
    What have I to do when i want to change the pictures before name of language?

  516. 516
    James Mernin Says:

    @maskeiw
    The images associated with the various languages are in wp-content/plugins/xlanguage/view/xlanguage/images. All you need to do to change them is replace the files in this directory. However, please note that there are 2 image filess for each language (one for the language when it it active and one for when it is not active).

    Also, if you want to add image files for a new language you can place image files here too. You just have to make sure you give them the proper names.

  517. 517
    Octavi Says:

    I put xlanguage in to wp-files bat not are into widgets tools

  518. 518
    Ben Middleton Says:

    Thanks for the previous reply! I have another question :)

    Our site template uses a static page for the home page (configurable in Settings>Reading>Front Page Display). The translation links do not work if we try to change languages while on the home page. It will take the user to the normal homepage listing all the posts, instead of just translating the home static page. The language preference is changed correctly, it just takes the user to the wrong page.

    Is this more likely to be an issue with xLanguage or our site’s template? Is this fixable?

  519. 519
    Vladimir Says:

    Hello
    thanks for nice plugin.
    We are using your plugin with Exec-PHP Plugin ( http://bluesome.net/post/2005/08/18/50/ ).
    The problem is that if we use language tags on pages where we want to execute php code – then out php inserts does not work.
    We tried it in different ways, wrapping only the text translated into language tags, leaving php tags, it didn’t work.

    Can you please advice if we can solve this issue?

    Thanks in advance

  520. 520
    James Mernin Says:

    @Ben Middleton
    I had this very same problem (i.e. clicking the static Home tab shows the site posts instead). I think the reason it is happening is because Wordpress treats the static/home page differently and uses the main URL for the site as the hyperlink rather than the page_id for the page in question.

    In any case, I was able to solve the problem by enabling permalinks on the site.

  521. 521
    HelloSam Says:

    @Vladimir
    The article have to be 100% XHTML valid. My best bet is that the <?php ?> tags are breaking the things.
    May be you want to use an alternative way to tag the language of your text – try the Square Bracket option (find that in the advance option page)

  522. 522
    Mike Says:

    Hi, i’ve got a problem with this plugin.
    I’m a web developer, i installed this plugin, followed all the instructions (widgetized the sidebar, and set up everything).
    Almost everything in the blog is working fine, the flags, content and theme i18n are great, but i can’t login on wp-admin.

    When i attempt to login wordpress processes the form, and it redirects me to the login form again with no error message :/
    if i attempt to login with fake username and password i get the error message “incorrect username…” as expected, but if i use my real user data nothing happens!

    please if someone knows a way to fix this please let me know, i need to make that site works as soon as posible.

    thanks for the hard work ;)

  523. 523
    Bart Says:

    Hi Sam,
    Thanks for this excellent plugin. For my new company I have started to use WordPress (Joomla is too big) and found yours to be very valuable. However, I am using WP2.8. When I want to login to the admin panel, I cannot unless I rename the xLanguage plugin directory to something different.
    You you know what’s going on? Is this a PHP issue?

    Bart

  524. 524
    Ute Says:

    @ Twinmold : version 2.8 with german language pack.

  525. 525
    fle Says:

    Hi .. nice plugin .. but anzway … Does someone have a “Header problem” and at a same time knows how to resolve it?

  526. 526
    Blower Says:

    No other site I found was as helpful as yours has been to me!

  527. 527
    cabgaspspoork Says:

    Я конечно, прошу прощения, но не могли бы Вы расписать немного подробнее.

  528. 528
    lau Says:

    I think I meet the “Header Problem” too, all the pages works fine in switching languages except home page, when I switch there is 404 error . But my another Site works perfectly.

  529. 529
    Dual language for Wordpress | Mortfiles Evolved Says:

    [...] I have been pondering many approaches for making Mortfiles Evolved available in both Swedish and English and so far I have looked at using a Wordpress MU setup, using the translation service like I have here on this website, getting creative with custom fields and finally using something like WPML or xLanguage. [...]

  530. 530
    mj Says:

    Hi, I like this plugin. I want to add it in the header.php not in widgets, how can i do that? thanks

  531. 531
    Northwest Arkansas Real Estate Says:

    This is very helpful, thank you! You’ve made it very easy and simple to follow!

  532. 532
    mj Says:

    Hi! I read again this tutorial and I got it finally I transferred the code to the header. How about the css? I want to change how it looks to match my menu. I want it just texts line up side by side not blocks. Thanks

  533. 533
    mj Says:

    again, nevermind, i found it. Thanks for this plugin.

  534. 534
    Mike Says:

    Hi.

    Sorry, never mind – I got lucky. Instead of calling from within a widget, just calling it directly worked… but maybe that’s still a bug?

    cheers,

    .M

  535. 535
    Hosting Coupons Says:

    What a great concept for Word Press plugin. I have never heard of a translating plugin.

    Hosting Discounts

  536. 536
    Mooncar Says:

    Cool plugin, i’ll try to add it tomorrow. thanks for the info

  537. 537
    Luciano Santa Brígida Says:

    Dear Sam, xLanguage is by far the easiest translation plugin I’ve tried. Unfortunately, when I installed it under WP2.8 or 2.8.1-RC1 some javascript on the “new posts” page broke, unableing me to insert/upload new media or even accessing the submenus of the admin area.

    Could this be a conflict with version 2.8?

    I tried to deactivate the plugin but the problem remained. What is going on?

  538. 538
    HelloSam Says:

    @Luciano
    Sorry I do not have time to work with WP 2.8 yet. And apparently it has to be fixed…I hope someone could provide me a patch or something. ha.
    Anyway, it would take a week or two for me to iron that out.

  539. 539
    Luciano Santa Brígida Says:

    @HelloSam thanks for the quick answer. I’m willing to help fixing it. I already faved the trac.hellosam.net/xlanguage/ in my browser so I can keep up with upcoming issues and see how I can help. You could try to engage developers from the community more often trough trac. Cheers!

  540. 540
    Leo Says:

    Hi

    I’m getting problems with permalink. When I change its default behavior (from /blog/?p=1 and so on to /blog/post-name etc) it not redirected to the correct url. In other words, after enabling permalink option and setting permalink to /blog/lang/en/post-name 404 error is thrown

    Should I do an aditional configuration or something else?

    gratz

  541. 541
    Luciano Says:

    @Leo Have you set your .htaccess file properly? It may note be writable…

  542. 542
    Luciano Says:

    How can I register on trac.hellosam.net/xlanguage/ to create tickets?

    I have found something the bug I previously mentioned. I believe it is caused due to a conflict with TinyMCE and XLanguage. The Webdeveloper Toolbar add-on for Firefox found the following alert: “The stylesheet http://myblog.com/wp-admin/?xlanguage-tinymce-css&ver=5&ver=3241-1141 was loaded as CSS though its MIME Type, ‘text/html’, is not ‘text/css’.” in Source-File: http://sbvirtual.com/sbteste/wp-admin/post-new.php Line: 0

    And also this error: “Error: uncaught exceptionSyntax error, unrecognized expression: [@href^='#']”

    I still couldn’t find in which files of the plugin it adds the TinyMCE buttons. Hope this can be of help…

  543. 543
    Lemon Detox Diet Recipe Says:

    Thanks, going to give the plugin a try!

  544. 544
    Make crystal meth Says:

    Thank you very much for useful product, i’m going to give it a try too and i will post my review. Keep updating it, as i am planning to install it under WP2.8 javascript as “Luciano Santa Brígida” did.

    Thanks

  545. 545
    HelloSam Says:

    @Luciano: Is that v2.8? I didn’t try 2.8 yet but I suspect my plugin is not compatible with it.

  546. 546
    anunturi Says:

    Sorry my english firstly, i read well but i cant write :) , So its useful post for me and i bookmarked your blog.

  547. 547
    Paul Says:

    Hi,

    Thanks fo rthis mod, it workds great. Is there anyway of displaying the languages in the header area?

    Many thanks

  548. 548
    Sam Ayer Says:

    To display languages in the header, do the following:

    1. Edit the header.php file in your template and add the code : after the navigation bar or wherever you want the languages to appear.

    2. If you don’t want the languages to appear with ul/li tags, change list_langs.php and replace the ul/li sections with and just echo out the images and language text. Upload the new list_langs.php file to /view/xlanguage/ under your theme directory.

    3. You can set a class for this div in your CSS.

    Hope that helps.

  549. 549
    Sam Ayer Says:

    The PHP code I added didn’t show, so let me try again…

    xlanguage_list_langs();

    Put that with beginning and ending PHP code tags where you want the language listed.

  550. 550
    news Says:

    I hope someone could provide me a patch or something. ha.Anyway, it would take a week or two for me to iron that out.thank u for sharing.it is very interesting article also.

  551. 551
    PaBLoX Says:

    Hi! I finally ran into this plugin! It’s great, I just have a problem and I was wondering if you can give me a hand… I followed the “SEO optimization” instructions, but in the xLanguage widget appears “All” as the third language. I’m using WP 2.8.1. There’s some way to make it not appear there?

  552. 552
    Copernicus Says:

    Hello,

    I just wanted to post a note to (potentially) help others in a situation similar to mine.
    I’ve been trying to find a way to “hard code” some language changes into the template and read comments #120 & #122.

    In the first comment, the author discusses an IF/ELSE statement that could be coded as follows…
    if (xlanguage_current_language_code("cy")) { ... } (where “cy” is the abbreviation of the language)

    Then, in comment #122, the author of the plugin suggests that the code above should actually be written as if (xlanguage_current_language_code == "cy") { ... }

    However, in my attempts to hard-code a similar solution, I’ve found that the first snippet of code is the one that worked for me.
    (that being something along the lines of if (xlanguage_current_language_code("cy")) { ... })

    Hope this helps anyone attempting to do the same thing!

  553. 553
    Copernicus Says:

    FOLLOW-UP to POST #552
    My apologies, I think that I wrote before I should have. It turns out that neither option worked.

    I tried using

    ...php...
    if (xlanguage_current_language_code("fr")) {
    echo "French Title Here";
    }
    elseif (xlanguage_current_language_code("en-us")) {
    echo "English Title Here";
    }
    else {
    echo "Fallback Title Here";
    }

    and

    ...php...
    if (xlanguage_current_language_code == "fr") {
    echo "French Title Here";
    }
    elseif (xlanguage_current_language_code == "en-us") {
    echo "English Title Here";
    }
    else {
    echo "Fallback Title Here";
    }

    Sadly, neither worked. So, the question still remains: how does one call language control within the template code?

  554. 554
    Hamming Says:

    This is the plugin I was looking for. xLanguage is just great.

  555. 555
    Trouffman Says:

    Hey,
    Seems there is a bug while using the plugin ‘Sociable’ … once activated all the language show up… if desactivated… each language work properly.

    best regards,

  556. 556
    Trouffman Says:

    once again :)

    when using some reserved character in my content (such as & etc) i got parsing error.

    Actual problem :

    thanks in advance.

  557. 557
    Rah Says:

    Hello,

    I’m using yahoo as a hosting company, they do not allow access to the .htaccess file. In order to use permalinks I can only use a custom structure [ /index.php/%postname%/ ] unfortunately when using xlanguage I get 404 errors. Can you suggest any args, structure tags that will resolve this issue?

    Thanks

  558. 558
    Pavel Says:

    Hi! It sems to me that “Single line filtering mode |” does´t work in this case:

    $parent_title = $page_query->post_title;

    Can anybody help me? Thanks.

  559. 559
    Jay @ Car Cleaning Products Says:

    I visited your site and the xLangauge plugin seems to work correctly. In my design (Theme) I’m using the Pages Plugin to build the menu at the top. The above described method is simply to make the title of the pages work. Either way thanks for posting!

  560. 560
    taylor Says:

    thanks for information shared….it is beneficial for me n i appreciate it.

  561. 561
    taylor Says:

    Thanks for the information shared….I believe it is beneficial for people like me who are interested to know and find out more.

  562. 562
    binomsc Says:

    Hi Sam,

    any chance to upgrade the plugin to work with WP 2.8.x? I would like to upgrade my websites to new WP-Version, but not without your plugin :-)

    Best,
    Martin

  563. 563
    Ralev Says:

    nice done!

    it will be great if there are a few widget templates in the next version.
    For example – I would like to use FLAGs images nexto to the name of the language and also in the WYSIWYG editor..
    or only glossy flag icons… :)

  564. 564
    binomsc Says:

    @Ralev (comment #564)

    You can change the images by uploading your preferred ones (e.g. the flags or the glossy flag icons) to

    [your Wordpress installation]/wp-content/plugins/xlanguage/view/xlanguage/images/

    For each language there are two files, one for active (selected) and one inactive – of course you can use the same here :-)
    You only have to rename the files according to your language ID. Assuming you use English, the ID is “en”, so there are two files: en.png and en-active.png If you are using Spanish, it is “es”, so the file names would be es.png and es-active.png. For Italian you would use “it” giving you file names it.png and it-active.png …. I guess you get the pattern, don’t you? ;-)

    I changed the pictures on my sides according to better meet the themes, it’s easy. You just have to be careful with updating the plug-in, that you do not overwrite your specific files with the standards – this happens to me all the time and then I have to upload my files again :-)

  565. 565
    John Raynard Says:

    This plugin is very useful, but I this search engine optimization will be more difficult using more languages on your wordpress blog. This is why I am using SEO Toolkit Pro to optimize my blog.

  566. 566
    Noble Baker Says:

    @binomsc,

    I am using xLanguage with 2.8.3 and it seems to be working fine so far. It says only tested up to 2.7, so I guess I am testing it!

  567. 567
    Georgi Kamov Says:

    I have a question. In the header.php file of the theme I use, there is a code describing the menu of the site in header.php

    <a href=”/”>Home

    <a href=”">RSS feeds

    How should I change the code if I want the “Home” and “RSS feeds” to change with the language? The page titles change automatically when I put the “|” character in their titles, but these ones don`t.

    Actually, my question is valid for all texts which are in the theme files. For example, my theme`s footer has a text field in which I can enter a short description of the site. How should I transform it so it can change together with the language?

    Thanks in advance.

  568. 568
    Yves Says:

    @Georgi Kamov,

    Try :

  569. 569
    Yves Says:

    oups …

    Try

  570. 570
    Yves Says:

    sorry, impossible to copy-paste a piece of HTML code in these comments ???

  571. 571
    Alex Says:

    Hi,

    I run WP 2.8.3 and my Wordpress URL (xyz.123.user.com/wp) is different to my Blog URL (domain.com). The plugin works fine, but the url rewrite has some errors now. Instead of showing the domain.com/lang/de/contentpage it shows xyz.123.user.com/wp/lang/de/contentpage. It works, but this is bad for SEO issues. Can I change a database entry or is there another fix for that?

    Best
    Alex

  572. 572
    Ecommerece Says:

    Thanks for this information, this plugin is very useful.

  573. 573
    Alex Says:

    Another Question:

    Should I update my Google Sitemap Infomation? Instead of domain.com/contentpage for example domain.com/lang/all/contentpage?

  574. 574
    Carol Says:

    I just downloaded xLanguage today and I notice you reference a user guide. Where can I find it? I am having a problem with the setup and I think if I had your guide handy it will be helpful.

    I set up our static website to use US english (en-us) as the primary language with french (fre) as the 2nd choice and saved. But I don’t see any results. Any suggestions you can make will be greatly appreciated. Thank you so much!

  575. 575
    binomsc Says:

    @Carol

    I had a look at your site and it looks like you have setup xlanguage fine (as it changes to language specific URLs).
    I hope not to upset you with this question, but are you aware that you have to “manually” translate every static page (and article) you write and then mark the English part as “English” and the French part as “French”? This is done by selecting the text and hit one of the language buttons in the editor. In the title of the site or article, where you have only one line, you have to use the | as seperator.

    Let’s assume you have a welcome page. The title is “Welcome” and the text is “Hello, welcome to our site”. As I can not speak French I make the example with German :-)

    The title would be:
    “Welcome | Willkommen”

    and the text field would be.

    “Hello, welcome to our site.
    Hallo, willkommen auf unserer Webseite.”

    While the first sentence is selected and marked as language 1, the second sentence would be marked als language 2.

    All parts not marked as special language will appear on all language versions. I use this for all images and galleries or videos etc. which I do not have to add twice.

    Here I uploaded a screenshot for you.

    Hope that helps?

    Best,
    Martin

  576. 576
    Carol Says:

    Hi Martin,

    You are so kind. Yes, I’m aware that we have to manually translate the text. But I don’t see the controls, even after activating the widget in the admin area. That is why I sent the post.

    Someone else, who speaks french, will be doing the translation. I sent her an email to verify that she can see xLanguage in action. As long as she can see it that’s what counts. Or maybe I’m not looking in the right place. What I will do is restart my browser and check again.

    I appreciate your response very much and thank you for this plugin!

    Thank you and have an amazing day!

    Carol

  577. 577
    Carol Says:

    I do have one additional question: I see where the visitor can choose the translation links in the sidebar. Is there a way to put those links at the top of the list of links for those pages where we currently have links to other pages? Right now the language links are shown at the bottom of those links. I’d like to make sure that if we add pages the xlanguage links will remain at the top.

    Also, I there a way to substitute the language choices with icons representing the flags for the country of the translation?

    Thank you again!

  578. 578
    binomsc Says:

    Hi Carol,

    you’re welcome. Just to clarify: I did not develop that plugin, I am just a fan of this great tool ;-)

    Regarding your questions:

    1) Images: Yes, you can change the image presented with the links. I have changed it myself on my pages and descriped the way to do it in comment #564 .

    2) Location of the language links: this depends from the theme you are using. Usually you can manage the theme widgets, and reorder them. I am not sure which version of WordPress you are using? I am using a German version of WP, but in your version it should be “Theme/Design” => “Widgets”. Pls have a look at this screenshot – although it is in German, the look should be similiar in your dashboard. You can re-arrange the blue boxes on the right side, placing the “xlanguage List”-box where you like, and save it!

    3) Finding the controls: if you set up the languages correctly, they should show up in the editor when opening / drafting / changing any article or page. I am not sure if it is a problem if you are using “en-US” or “fre” instead of a double-letter code (like “en” or “fr”)?

    Good luck!

    Best
    Martin

  579. 579
    CD labels Says:

    Right now the language links are shown at the bottom of those links. I’d like to make sure that if we add pages the xlanguage links will remain at the top.

  580. 580
    ZigBee Says:

    I am using the xlanguage plugin to translate my posts (great plugin btw). But at this time I need to translate a brief descriptive paragraph that is hardcoded in the header template.

  581. 581
    Julian Says:

    Hi,

    that’s a great plugin !

    I just have a problem with IE8 on Windows 7 : the languaged color highlighting doesn’t work (works great with other browsers)

    Thank you so much !

    Julian

  582. 582
    jenni Says:

    Hi, xlanguage was working fine on my pc but recently switched to mac ox and the highlighting and bubble icons dont work properly. When i highlight it puts a line thru it like the scratched ABC icon and then even if I double click to make it disappear the languages dont appear on their corresponding pages. I retried it with my pc and still worked fine.
    Any suggestions or will i have to switch templates to use my mac?

  583. 583
    binomsc Says:

    @Jenni (comment #583): which browser are you using? I work on MacOS X (latest version) with Camino Browser and Firefox Browser, both are fine on my WordPress Websites.

  584. 584
    jenni Says:

    thanks…before i got your msg i downloaded camino browser and all works fine now. thanks…

  585. 585
    How To Stop Snoring Says:

    Thanks so very much for your help. I upgraded to WP 2.7 and that didn’t help, but it did help that you said your plugin was working. I decided to try using a plugin other than Blogger Re director and was actually successful with that.

  586. 586
    Roonaan Says:

    To fix the redeclare issue, move the class file to a separate file, and reference to it using an include_once dirname(__FILE__).’/xlanguage.class.php’; from xlanguage.php

  587. 587
    Seocntrl Says:

    hi,
    when I do as sited, my settings isn’t saved. Do you know the cause? It’s a bug?
    Thanks

  588. 588
    Seocntrl Says:

    “Under Mix & Match, for the language ‘all’, list all your languages in the ‘Show’ field, list nothing (empty) in the ‘Available As’, and set -1 in the ‘Position’.”

    hi,
    when I do as sited, my settings isn’t saved. Do you know the cause? It’s a bug?
    Thanks

  589. 589
    Alex Says:

    Hi Roonan,

    I think you refer to my post:

    Hi,

    I run WP 2.8.3 and my Wordpress URL (xyz.123.user.com/wp) is different to my Blog URL (domain.com). The plugin works fine, but the url rewrite has some errors now. Instead of showing the domain.com/lang/de/contentpage it shows xyz.123.user.com/wp/lang/de/contentpage. It works, but this is bad for SEO issues. Can I change a database entry or is there another fix for that?

    Best
    Alex

    Your Answer

    To fix the redeclare issue, move the class file to a separate file, and reference to it using an include_once dirname(__FILE__).’/xlanguage.class.php’; from xlanguage.php

    Can you explain this a bit more in detail? Sorry!

  590. 590
    Roonaan Says:

    Hi Alex,

    I wasn’t responding to your issue specific, but more in general to the notice accompanying this plugin:

    Notice

    If you hit the following error message after installation:

    can not redeclare class xLanugagePlugin on line 996 in xlanguage.php

    Resetting the xLanguage configuration would help. To do that, please go to “Settings -> xLanguage -> Options” in the Admin control panel, Scroll to the very bottom and reset it.

    This is a known problem but I can never reproduce this so have no idea how to fix it. Any volunteer in helping me is very welcome!

  591. 591
    binomsc Says:

    @SEOctrl / #588:

    I checked it myself (WP 2.7.x) and it worked fine. One issue I can imagine is to use “,” as separator between two language codes, e.g. “de,en”. When I tried “;” (de;en) I got an error message.

    Which WP-version, which operating system and which browser are you using?
    Can you make a screenshot of your settings page of xlanguage plugin?

    Best,
    Martin

  592. 592
    Carol Says:

    Hi Martin,

    In post #577 you directed me to comment #564 for your explanation for changing images to flags that represent the country of the translation. On our site, we have no existing images to replace. We’re using en-us for english and fre for french and no images appear. I noticed that when I originally used en that what appeared to be a bubble appeared, but not with en-us. How do I assist xLanguage in displaying icons where no images are currently being displayed? Thanks so much.

  593. 593
    binomsc Says:

    Hi Carol,

    I guess (again, I am not a developer of that plugin) that xlanguage is looking for a image which has the same name like the language code. As currently there are no such image files for your language codes (fre, en-us) available, it can not show any image.

    Here is what I would try to do:

    1) Choose the image(s) you want to use. Remember, there is usually one image if the language is selected, and one image if the language is not active. If you want to use the country flags for instance , you could use one colored version (for active language) and a grey-scale version if the language is not selected.

    2) Scale the pictures to the right size and save it with the names of your language code. For you, there should be four files:
    - fre.png (french, not selected)
    - fre-active.png (french, selected)
    - en-us.png (English, not selected)
    - en-us-active.png (English, selected)

    3) Upload all files to the folder [your Wordpress installation]/wp-content/plugins/xlanguage/view/xlanguage/images/

    4) Hope the best :-)

    Good luck!
    Martin

  594. 594
    lowfi Says:

    Very usefull plugin. Looking forward to a new version where /lang/ is removed ;)

  595. 595
    Carol Says:

    Well, Martin,

    The flags are not showing up now that I’ve uploaded the us-en.png and the us-en-active.png. I uploaded the same for the French flag. I noticed in the original code for this plugin the only images provided are en.png and en-active.png. Does this mean that this plugin does not support images? Or are we using language abbreviations on our site that the plugin is not expecting? I thought in another post someone was able to display flags.

  596. 596
    Carol Says:

    BTW, I realize you are not the developer but I do appreciate your assistance. Does the developer provide feedback at all?

  597. 597
    binomsc Says:

    @Carol

    I tried it twice but it looks like I can not answer you here. I added some links, but the commenting field does not like it if I put in to many links. Maybe the comments have been automatically filtered by Askimet SPAM-protection plugin and have to be approved by Sam (the developer) manually.

    However, I try to send you an email via your website :-)

    Best
    Martin

  598. 598
    update music Says:

    Interesting plug-in indeed. Certainly was helpful. I had no trouble installing it. Thanks a bunch for the plug-in. Appreciate it.

  599. 599
    lowfi Says:

    A question….

    Can i also use the single line filtering mode in the description field of all in one SEO?

  600. 600
    Bi Folding Doors Says:

    The language preference is detected from browser’s preferences, as well as from Cookie if user visited before. Widget and template functions are also provided to allow user to switch the language easily. The presentation of the template functions can also be customized in your theme folder without touching the code in the plugins.

  601. 601
    Artiom Says:

    Hi! Thank you very much for the plugin! Great work!

    I have one question so far. How do I make it work with “custom_more” fields. Here’s more info about this field — http://www.wprecipes.com/create-custom-read-more-links-on-your-wordpress-blog

    The “|” thing does work with titles, but doesn’t with “custom_more”((

    Hope you can help! Thanks in advance.

  602. 602
    Mehrsprachige Blogs erstellen – nur für Masochisten! | blogschreiber.com Says:

    [...] habe dann xlanguage getestet, aber irgendwie kam ich damit nicht so gut zurecht. Also wieder gelöscht und zur dritten [...]

  603. 603
    Carol Says:

    Is there an abbreviation for french that includes an image when the link is displayed. From experience ‘fre’ does not allow an image to be displayed with it.

  604. 604
    binomsc Says:

    Hi Carol,

    I have tested it on my side – I had no problems adding French language with fre as code and using the images fre.png and fre-active.png as images. Probably check again for CAPITAL letters. Make sure that you always use lower case letters, in the options as well as for the image file names.

    Best,
    Martin

  605. 605
    seocntrl Says:

    I reinstalled the blog and experience the problems described in 229, 239 (but number of string is 102) :

    *Warning*: Invalid argument supplied for foreach() in */home/xxxxx/public_html/wp-content/plugins/xlanguage/view/admin/language.php*on line *102*

    I use permalinks

    Hey guys, do you know reason? I only reinstall the blog – before this msg was absent

    Thanks

  606. 606
    seocntrl Says:

    It begins then add all language:

    Languages cannot be added because:
    The permalinks primary appending position cannot be empty.
    The Single Mode Splitter cannot be empty.
    The Square Bracket Syntax must be consists of a-z, A-Z, 0-9, – (dash) and _ (underscore) only.

  607. 607
    Procter Says:

    I took some time to get it to work, but now it works. Great plugin. One remark: On activating the plugin the menu for the plugin “wordpress-admin-bar” disappears. Just to let you know. But for this blog I dont really need the adminbar.

  608. 608
    raphael_ber Says:

    Hi

    I started trying using your plugin.

    It looks great but I have some problem with the title.

    I made a test with a page in Japanese and French.

    I put the title in Japanese and French and between the 2 titles I put a | mark.

    When I click on Japanese language in the sidebar widget, only the Japanese part of the title appears which is normal.
    But when clicking on French, the title is Japanese title|French title.

    Did I miss something about the way of writing the title ?

  609. 609
    raphael_ber Says:

    Yes I did miss something. Now I understand

  610. 610
    raphael_ber Says:

    Hi

    I have another problem.

    On my site, as home page, I set a static page, not my latest posts.

    But when I use xLanguage, the home page is showing the latest posts. Is there a way for the home page to show a static page with xLanguage ?

    Thank you

  611. 611
    Patrice Boissonneault Says:

    Hi, Thank you very much for such a great plugin. Will try to do my best to contribute in one way or another.

    I have not played many days with the pluggin, but so far, here are the problems I can across:

    1) On the toolbar widget, the other language url change http to https.
    2) “Almost pretty” Permalinks stopped working, I had to set it back to Default.
    3) The front page static links stopped working.

    If you can direct me to any documentation on how to fix those, that would be very appreciated.

    Keep up the good work.

    Patrice

  612. 612
    Lucato Says:

    Hi Sam,

    I want to report that when I insert an image (from file or url) in the post/article, the xLanguage doesn’t get to handle the two languages I’ve selected in the post. If I delete the images, it works ok.

    Any I dea how to solve it? I have tried to add and remove manually the tags in the images, but didn’t work. Any reply and tip would be appreciated.

    Thanks in advance,
    Lucato

  613. 613
    Carol Says:

    Hi Martin,

    I tried again to get the flags to appear and like magic they did. Perhaps I did have the filenames capitalized before but it’s all working fine now for english abbreviations of en-us (as the instructions provide) and en, and for french abbreviations of fr and fre. I guess it will work with any abbreviation you give it as long as the filenames match. Thanks for the follow up!

  614. 614
    Patrice Boissonneault Says:

    Hi,

    I’d like to contribute $, but I would first like to get some help in fixing the home page issue on my installation, can someone contact me please?

    Thank you.

    Patrice

  615. 615
    Lucato Says:

    Just to share with you all, regarding the issue I’ve reported on #612, I got to solve it. Instead of using the default XHTML parser I’ve changed the option to “Square Bracket, then XHTML if no square bracket tag were found” and now I’m using the Square Brackets instead of the tag.

  616. 616
    Lucato Says:

    @raphael_ber (Regarding #608).

    Have you tried to change the “|” for you own code, maybe it can be conflicting with Japanese characters. In the xLanguage option you can change it for the code you want to. Maybe you can use “#t#” or something else. Well, just a suggestion. Try a different stuff. ;0)

  617. 617
    raphael_ber Says:

    @Lucato

    Regarding #608

    This problem is fixed already, thanks !

    It was just because I added 3 available languages in this order: Japanese, French and English.

    And in my post title, I added only 2 languages. When I added an English title, it could then work.

    So when you have x languages, I guess you should x-1 | in the title (one between each language).

    The problem I raised in #610 seems more difficult.

    Thank you

  618. 618
    Stephen Castings Says:

    Can’t believe I’ve only just come across this – I can translate by blog pages to French and Spanish now, thanks a lot!

  619. 619
    Peter Says:

    This plugin has a problem with WP 2.8. When you create a language, then you can’t log out and log in again. It’s a pity cause it’s the best pluging for the translation :(

  620. 620
    Arto Says:

    Hi

    Is it possible to use this plugin also to have image captions in multiple languages?
    I tried with the | but that didn’t work.

    Thanks
    Arto

  621. 621
    Lucato Says:

    Hi folks, I need a help. My site is in two languages pr_BR|en-us, but the months in the locale.php file are in pt__BR. I’ve tried to edit the locale.php and added the “|” in the months, but it didn’t work. It showed both like “Setembro|September” instead of showing only the 1st for the 1st language and the 2nd for the 2nd language. Any tip how to get to use the months, week days, dates translated for the 2nd language?

    Thanks in advance.

  622. 622
    mkayaalp Says:

    I guess the bug #8 which is said to be fixed in v1.3.1 remains/reemerged in v.2.0.4. My home page is static and when there is a ?lang=xx query string in the url, the blog page comes instead.

  623. 623
    LostInNetwork Says:

    This theme element: title=”Permanent Link to ”
    breaks, when the post/page title contains anything like …

    Result:
    title=”Permanent Link to …”

    –> an extra: TITLE”>
    in front of the page title.

    Any ideast of how to write the title

  624. 624
    LostInNetwork Says:

    So, I wanted to use inside a title = ” … ” element. This breaks HTML, because the title will then contain a span and there will be invalid nested quotation marks. This is already a language specific theme file…

  625. 625
    Lucato Says:

    Guys, I need a help. I’m using xLanguage for two languages en-us (English) and pt_BR (Portuguese) and the months in the locale.php file are in pt__BR. I’ve tried to edit the locale.php and added the “|” in the months, but it didn’t work to make each month for each language. So, It showed both like “Setembro|September”. Do you guys have any tip how to get to use the months, week days, dates translated for the 2nd language? How does xLanguage handle it?

    Thanks in advance.

  626. 626
    Learning online Says:

    If you want to present your blog in different languages (totally with title, rss, categories working, not just the post) and allows visitors to pick the language they want, this plugin is for you .xLanguage is a full featured plugin allows you to blog in different language, and allows user to select which version to read. It works for blog post, page, tags, categories.

  627. 627
    mieszko Says:

    when I insert an image (from file or url) in the post/article, it isn’t visible. while inserted in the static page – it works ok.
    also I want my home page to be static page, but xlanguage always shows my blog entry as my home page.

  628. 628
    joomla extensions Says:

    Great plug-in. I loved it. Still experimenting around but I really wanted to say something about it. Great job. Cheers

  629. 629
    update music Says:

    Awesome plug-in. I really love the fact that the plug in only needs a little configuration to start off things. Appreciate the effort. Cheers

  630. 630
    Learning online Says:

    After installing Bootcamp and Windows on my MacBook I found out that IE7 does not play nicely META refresh. In protected mode IE7 does not follow it (or maybe just not to external domains). The solution is to wrap the meta tag in a noscript tag for crawlers and use a javascript redirect for browsers. Though it should be noted that the Google crawler actually follows both a meta refresh redirects and simple javascript redirects.

  631. 631
    Carl Says:

    Hello,

    First of all I’d like to say that this plugin is great! I love that it doesn’t require any changes in the database and overall it’s a very solid plugin.

    But I’m experiencing some difficulties, probably due to my own incompetence.

    I’m trying to include the first three posts from a specific category on a separate page by using the query_posts function included in Wordpress. Previously I had two mirrored but translated categories, one for each language.

    But I don’t know how I can select the correct language in the query_posts code when the two categories become one. As it is now the permalink defaults to the first language installed and the excerpt/content/title visible on the page also defaults to the first language.

    I’d like to make two different pages getting the first three posts. One in language X and the other in language Y.

    In short: How can I set up the permalink and contents to select a language when I’m including posts on another page?

  632. 632
    özel güvenlik Says:

    Great plug-in. I loved it. Still experimenting around but I really wanted to say something about it. Great job. Cheers thank you

  633. 633
    Carl Says:

    Nevermind my problem. I found a solution to forcing a language without using the url/cookie/browser detection.

    Just declare the correct variable after the inclusion of the Wordpress-header (and its contained plugins, including XLanguage). For example:


    language = 'YOUR LANGUAGE CODE'; ?>

    It might be a good idea to redefine the variable $xlanguage after you’ve used the section of your site with the forced language requirement so nothing breaks.

  634. 634
    Sabross Says:

    I found out that the plugin is messing up with my s and so there is a parse error. Anyone knows why is this happening? What should i do so that the plugin doesn’t mess with my s ?

    thx!

  635. 635
    Sabross Says:

    i changed to [] instead of span and it worked ^o) thx anyway

  636. 636
    brasofilo Says:

    sabross,
    maybe you wrote “” and the system printed “s”
    but that’s hillarious: “the plugin is messing up with my S”
    ;)
    ;)

  637. 637
    brasofilo Says:

    yep, it’s not printing html entities…
    …translating my last comment empty quotes into literal machine language, i meant: “maybe you wrote QUOTE + SYMBOL GREATER THAN + span + SYMBOL LESSER THAN + QUOTE”

  638. 638
    Lucato Says:

    Hi folks, any Idea how do I call a second language to the same article. I mean, now a days in my site when I call the second language “PAGE”, it goes to the main page (?page_id=0), but I’d like to make the user be redirected to the same article he/she was reading to the other language. I mean, lets suppose the reader was reading one article (page_id=365) in the LANGUAGE1 and he/she clicks on the PAGE LANGUAGE 2, instead of jumping to ?page_id=0&lang=LANGUAGE2 I’d like to jump to ?page_id=365&lang=LANGUAGE2. So, how to make this page_id=*, understand any page instead of an exact number? Or what link would I use to call the same article in another xLanguage.
    Thanks in advance.

  639. 639
    Petra Says:

    Hi, this is a fantastic plugin. I have only one big problem. It is impossible to turn back to the home page that I have created. The home page ends on .nl and when I get to another page of my website, the language is added in the address. But because the homepage misses the language, and should have one to be able to get back, it is impossible to return to the home page. Can you please help me out, because this is vital for my website, as you will understand. Thanks!

  640. 640
    Markus Says:

    great plugin! it works perfectly

  641. 641
    John Says:

    Hello,

    First, thanks for your plugin. It’s great.

    Second, I have a little problem when adding/editing a post in admin. Category names are not filtered in the category box (I’m using the | syntax). I’ve added the “link_category” filter to the hook section with no avail. I’m using WP 2.8.4.

  642. 642
    Philippe Says:

    I have a similar problem, when I use get_cat_name(3); I obtain the non filtered result: “Dernier projets|Latest projects”
    any idea ?

  643. 643
    Michi Says:

    Great stuff!
    But I have some problems with OSM-plugin. Once I just enable xLanguage, all content generated by OSM is not displayed in my posts. Does not matter how I manipulate the tags. Don’t know if it is a problem by OSM or xLanguage plugin. Greets, Michi

  644. 644
    Jos Velasco Says:

    Hello, your plugin is just amazing.

    I am starting to use it on a variety of sites.

    I got a question, is it possible to make RSS work with feedburner?

    Cheers

  645. 645
    Petra Says:

    I have installed this wonderful plugin. I have also installed the plugin Gigpress. The “View all shows” leads to nothing. The message is “not found, you are looking for something that is not there”. The url of this View all shows is [website address]/gigpress-upcoming, just as I have said in the settings of this plugin. But in the url of the homepage the language value is added, for instance: [website address]/lang/en-us/. The url of another page > also contains the language: “[website address /lang/en-us/giru-2009″. Just adding a language in the url for “View all shows” did not help. My website contains 4 languages.

  646. 646
    poker Says:

    the plugin is great thanks

  647. 647
    Philippe Says:

    ok, I just used wp_localization(get_cat_name(3)); to get my category name localized.

  648. 648
    jane Says:

    hi, the plugin is great!!
    but why can’t i set the title of it in the widget setting?
    furthermore, could you teach me how to change the appearance of the plugin being shown in the sidebar?
    e.g. not a list but different flags lining up?

    thank you very much!!!

  649. 649
    daurora Says:

    This is a wonderful plug-in and will definitely use this at some point in the future. However, after trying to remove this plug-in from my hosting site; I see that you write a log file to your own server; which cannot be deleted, since you are the owner of that file. Which means I can not completely uninstall this plug-in. I don’t mind if you see that log file; but allow users to delete this log file.

  650. 650
    Lucato Says:

    Is there any way to make it works on the nickname input field at profile in the back end? The author name can change in different languages. I tried to use the “|” but didn’t work. Any idea or hacking for it? If not, it is a suggestion for the next update.

  651. 651
    buy LMS Says:

    All of these types of “my programming language is better than your programming language” discussions are just academic nonsense I cannot believe how much hot air is generated by these types of discussion. Who cares as long as it works and helps me make a living with the minimum of fuss and expense. PHP is good enough for web development (for now), if something better comes along I’ll use that. Worrying about whether it’s pure OO, worse/better than C++/Java etc. i

  652. 652
    e. Says:

    This plug-in is awesome for French and English in Canada.
    I have compared with others but:
    -were auto translators (instead of language switching)
    -did not offer multilingual for categories, pages, tags.
    -errors occurred with my setup

    I appreciate the SEO bonus that all languages are within one url for a post

    Thanks Sam!

  653. 653
    OccabyRal Says:

    Вижу не первый раз серьезный пост на вашем блоге. Может о надвигающемся кризисе напишите?

  654. 654
    Dale Says:

    Hi,
    I have a little problem with this plugin.
    I use the mystique theme. I translated the theme and everything works fine till i turn on this plugin.
    When i do that the translation for the theme disappears (the plugin works ok and i can switch between languages) when i turn it off the theme translation work ok. Any idea on how to fix it?

  655. 655
    Yannick Says:

    Hello,
    I found/fixed some issues with xlanguage, hope it can help some people here !

    1. xlanguage.php page 929

    return untrailingslashit(substr($url, 0, strlen($pre)) . ‘/’ . xLanguageTagPermalink . ‘/’ . $lang . substr($url, strlen($pre)));

    The trailing slash should not be removed. Indeed, if the slash is not there, this causes a temporary redirection for all links like categories, pages in the sidebar when fancy permalinks are used in wordpress and are ending with a slash (because Wordpress rewrite rule adds the slash again). Thus, degrading performances a lot when clicking on the links.

    2. basic fallback for singletext when not set or empty

    Currently, if you don’t set a value when a separator is used, then the values is not defaulted.
    example for three languages: News||Novedades
    For the second language, nothing will be displayed

    Basic fix:

    function filter_text_real($content, $forced_single, $lang = ”) {

    [...]

    if (strpos($content, $this->options['split']) !== false && ($forced_single || strpos($content, “\n”) === false)) {
    $index = $this->options['language'][$lang]['pos'];
    $parts = explode($this->options['split'], $content);
    if ( isset($parts[$index]) && $parts[$index] !== ” )
    {
    return $parts[$index];
    }
    else
    {
    return $parts[0];
    }

    return isset($parts[$index]) ? $parts[$index] : $parts[0]; /*$content*/
    } else {

    In bold, the id of the language to fallback. You can probably read the value for the fallback in the options, but for me all languages fallback to first one.
    The code is probably a bit ugly but i’m not at work :) I’m not sure the last return is needed (and one function should have only one exit point actually…)

    There is also another issue (or behavior that should be followed according to me): when a post is written in one language and has some parts not tagged and then it is displayed in another language not tagged in the post, it should fallback to the first language. Currently it is not and it just displays the untagged elements.
    I made a fix for that (as I am using 5 languages so it is not always translated) but it is too ugly. Still I think it should be fixed in a next revision.

    Thanks for developing such a great plugin! Some great ideas here.

    Cheers

  656. 656
    DT Says:

    I am using xLangugage in my blog. One issue I have is with excerpts. I couldn’t get it working with excerpt text. Any suggestions?

  657. 657
    Yannick Says:

    DT, I didn’t check the behavior of the excerpt, but if you are using xhtml mode, first check if you don’t have any parsing error when displaying the page.
    Then check if the_excerpt is correctly defined in the list of filters in the xlanguage options
    good luck!

  658. 658
    Assaupt Says:

    мдяяяя :.. *много думал*:. автору спасибо за пост !!

  659. 659
    ¡Bienvenido a Geeks & Linux Atelier 3.0! « Geeks & Linux Atelier! Says:

    [...] Lo otro, desde ahora vamos a comenzar a escribir en inglés también, gracias al plugin xLanguage. [...]

  660. 660
    John Says:

    DAMN! Sorry for the spam. please edit my posts to this:
    http://nopaste.info/9b7d12ce90.html

    the tags are not shown…also not in the html code tag ()

  661. 661
    John Says:

    ok the problem with the html [p] tag is solved… it was my fault. but what about the category-tag?

  662. 662
    joomla modules Says:

    Thanks so very much for your help. I upgraded to WP 2.7 and that didn’t help, but it did help that you said your plugin was working. I decided to try using a plugin other than Blogger Redirector and was actually successful with that.

    I’m not sure what you mean about a problem with the Blogger template body. Where are Blogger tags visible?

  663. 663
    etienne Says:

    Simple question.

    How do I have the static element in my page translated. For example, the “Written by” _name “at” _hour… tanslate in my loop under the title?

  664. 664
    Oxpol Says:

    Hi,
    in my theme everything works perfect exept for the drop down menu – the | doesn’t do anything. The menu item just looks bla bla | ugu ugu instead of being switched. This drop down menu utilizes the category and child categories structure of the blog. Where do I need to make corrections for this to work properly – so that xLanguage sorts this menu too?
    Thanks

  665. 665
    kc Says:

    I am setting up a blog in French and English and most of my posts will be video clips hosted on Youtube. However, I can’t get this plugin to show Videoclip A for French and Videoclip B for English. Any ideas? Thanks!

  666. 666
    Miguel Cabezas Says:

    I have problems with this plugin. After activate it, my access to blog with original blog’s path is OK (blogdonetmind.com) BUT access to my blog with complet url (www.blogdonetmind.com) produce many requistions and break the normal access. After unistall the plugin, acess is normal again in both path blogdonetmind.com & http://www.blogdonetmind.com

    Sorry my english

    Thanks in advance

  667. 667
    real estate articles Says:

    Having the same problem with Featured Content Gallery 3.2.0. It stops working after activating social bookmarks. I tried de and reactivating several plug-ins, but still couldn’t get it to work once social bookmarks was reactivated. FCG immediately starts working again once SB is deactivated. Any suggestions how else to fix this? thanks.

  668. 668
    Boy88 Says:

    We can no longer defend the drug dealers. ,

  669. 669
    Sad42 Says:

    By the early 1950s, the continuing American inflation began to turn the tide of international trade. ,

  670. 670
    John Says:

    I’m searching for days now, but nobody seems to bother, that the category-slugs are not translated…

    Guys: Try to roll over the category-link and you will see that it is not translated!

    Somebody has a solution? Pleaaaaase :>

  671. 671
    Grant Bivens Says:

    For any of you out there who are looking for exact instructions for adding the xLanguage functionality to the Wordpress Popular Posts plugin here they are:

    1. Open wordpress-popular-posts.php in an text editor

    2. Search for “html_entity_decode($post_title)”

    3. Change to “apply_filters(‘localization’, html_entity_decode($post_title))”

    There should be 3 occurrences and they are on lines 264, 276 and 279 in version 1.5.1

    -Grant

  672. 672
    gelkamar Says:

    about the issue first mentioned in comment#120 and replied on #122 (see also #522 #523)

    after trying odd codes with my poor php skills i found the solution!
    ther’s an error in the syntax of the plugin’s author ‘if’ statement:

    this is what the author suggests
    if (xlanguage_current_language_code == “cy”) { … }

    this is the working one
    if (xlanguage_current_language_code() == “cy”) { … }

    i found it trying to echo the variable xlanguage_current_language_code

    hope it works for you as it did for me..
    happy coding ;)

  673. 673
    area rugs Says:

    programming language is one of the most difficult course…. i am a programmer…. i have a site http://www.naturalhomerugs.com

  674. 674
    SamyWeb Says:

    Hello,
    I don’t know if this is the proper place to report a problem. BTW in admin.php you do this:

    if (strstr($_SERVER['REQUEST_URI'], 'post.php') || strstr($_SERVER['REQUEST_URI'], 'post-new.php') || strstr($_SERVER['REQUEST_URI'], 'page-new.php') || strstr($_SERVER['REQUEST_URI'], 'page.php'))
    {
    $this->add_action('admin_head', 'admin_head_post');

    But you spread your javascript over ALL admin pages, so the result is that some plugins that for example use tinymce, don’t work because of xlanguage undefined variabiles in javascript.
    Please, could you fix this?
    Thank you

  675. 675
    Raphael Says:

    Hi

    I am using xlanguage on my website. Thanks for the plugin.

    My site is in French and English.

    I noticed that when I change language, the position of the text (title and content) is not the same.

    My default language is French. When I switch to English, the position of the text is a bit more down than the French version.

    I looked the source code of the home page and noticed that when I switch to English, I’ve got this html tags that I don’t have in French:

    Does somebody have the same problem ?

    Thank you

  676. 676
    Raphael Says:

    Sorry I thought the code would be printed. The code is like this: >pbr /br /<

  677. 677
    Dan Says:

    My configuration:
    - last version of WordPress
    - last version of xLanguage plugin

    I installed xLanguage. First, the plugin worked well. The title and content of every posts & pages displayed correctly, in french or english, depending of the user language preferences. All links were correct.

    When I changed my premalink configuration from default to something more SEO friendly (in this case: index.php/postname… and I’ve also tried postname), every link leaded to a 404 page.

    I searched in the comments, in the doc, in other websites… nothing seems to answer my question. Someone had the same problem and found a solution ?

    Help/support will be appreciated.

    =================================
    Ma configuration:
    - dernière version de Wordpress
    - dernière version du plugin xLanguage

    J’ai installé xLanguage. Au départ, le plugin fonctionnait bien. Le titre et le contenu de chacun de mes billets et chacune de mes pages affichait correctement.

    Quand j’ai modifié la configuration des permaliens pour quelque chose de plus compréhensible pour les engeins de recherche, soit de default à index.php/postname (et j’ai aussi essayé avec postname), chacun de mes liens mènent à une page d’erreur 404.

    J’ai cherché à travers les commentaires, la documentation, à travers d’autres sites… rien ne semble répondre à mes questions. Quelqu’un aurait eu le même type de problème et aurait trouvé une solution ?

    Votre aide/support sera bien apprécié.

  678. 678
    Bowling Tips Says:

    Xlanguage usually seems a lot harder during the initial stages but you get used to it and it gets really easy to understand after awhile, great descriptive article. Thanks for posting!

  679. 679
    Bowling Tips Says:

    It is true, when you try to write it in one language it doesn’t really tag with other languages, I’ve tried to overcome this problem, but it keeps happening over and over again..Could someone please tell me what to do?

  680. 680
    Rebekah Says:

    Wow this is super confusing. Please can someone translate what you’re supposed to do after an install in simple terms?

  681. 681
    Rebekah Says:

    OK, I figured this out. For the newbies out there like me, here’s what you do.

    1) Download and install the plugin in the plugin folder.
    2) Activate it.
    3) Click on Settings > XLanguage (left column).
    4) Under Add Languages, type in Locale Code “en-us”, Name “English” (remove the quotes), Add Language
    5) Under Add Languages, type in Locale Code “es” (for Spanish), Name “Spanish” (remove the quotes), Add Language
    6) At top click on Language Advanced. Click to Enable Content Filtering. Hit Update Filtering Options.
    7) Under Presentations, select all check boxes under Availability. Hit Update Presentations.
    8) Under Mix and Match, for Locale Code es put “en-us” under Fallback.
    9) It should be asking you at top in yellow to regenerate the metadata. Go ahead.
    10) Open up your latest blog post that you want to translate. Click edit. With the Visual tab selected, you will see 4 new options to use on your menu bar that look like thought bubbles. Highlight the first paragraph and select thought bubble 1 “tag as en-us.” Click over to the HTML tab. You should now see that the paragraph starts with and ends with . Alternatively, you could paste this in yourself.
    11) Click back over to the Visual tab. Highlight the paragraph again. Go to Freetranslation.com and paste into their window to translate from English to Spanish (Mexican) or whatever language you are doing. Translate. Copy-paste both the English and translated Spanish into Word. Copy the Spanish text back into Freetranslation.com and convert back into English. Note that it does a decent job but not great. Hopefully you, like me, have some rudimentary Spanish skills and can pick out the words/phrases that don’t work and can find some that do. For example, it translated “boss” into “leader,” so I chose instead to translate “employer” and replace that word.
    12) Once you’ve cleaned up the paragraph as best you can, pray that no one who speaks native Spanish laughs at your work and go back into the Visual tab of your post. Paste the translated paragraph beneath the English version as a separate paragraph. Highlight it and now click thought bubble 2, which marks it as Spanish. Click over to the HTML tab and observe how it now has at the beginning of the paragraph and at the end of the paragraph. Alternatively, you could have pasted this in.
    13) Assuming the first paragraph is also your Excerpt, copy both English and Spanish versions into the Excerpt field. It is best to do this from the HTML tab to make sure you grab all the appropriate metadata.
    14) Update your post.
    15) Under Appearance (left column) > Widgets, find the XLanguage List widget. Drag and drop it into the right column wherever you want it. Do not add a Title into the Field, it’s not necessary.
    16) Go look at your site. You should now be able to click on either Spanish or English via the widget to change the language of the first paragraph of your post.
    17) Now you just have to translate the rest of your post.

  682. 682
    Rebekah Says:

    Sorry, have to repost this as it’s picking up part of my instructions as actual code. Whoops!

    OK, I figured this out. For the newbies out there like me, here’s what you do.

    1) Download and install the plugin in the plugin folder.
    2) Activate it.
    3) Click on Settings > XLanguage (left column).
    4) Under Add Languages, type in Locale Code “en-us”, Name “English” (remove the quotes), Add Language
    5) Under Add Languages, type in Locale Code “es” (for Spanish), Name “Spanish” (remove the quotes), Add Language
    6) At top click on Language Advanced. Click to Enable Content Filtering. Hit Update Filtering Options.
    7) Under Presentations, select all check boxes under Availability. Hit Update Presentations.
    “8)” Under Mix and Match, for Locale Code es put “en-us” under Fallback.
    9) It should be asking you at top in yellow to regenerate the metadata. Go ahead.
    10) Open up your latest blog post that you want to translate. Click edit. With the Visual tab selected, you will see 4 new options to use on your menu bar that look like thought bubbles. Highlight the first paragraph and select thought bubble 1 “tag as en-us.” Click over to the HTML tab. You should now see that the paragraph starts with “” and ends with “”. Alternatively, you could paste this in yourself.
    11) Click back over to the Visual tab. Highlight the paragraph again. Go to Freetranslation.com and paste into their window to translate from English to Spanish (Mexican) or whatever language you are doing. Translate. Copy-paste both the English and translated Spanish into Word. Copy the Spanish text back into Freetranslation.com and convert back into English. Note that it does a decent job but not great. Hopefully you, like me, have some rudimentary Spanish skills and can pick out the words/phrases that don’t work and can find some that do. For example, it translated “boss” into “leader,” so I chose instead to translate “employer” and replace that word.
    12) Once you’ve cleaned up the paragraph as best you can, pray that no one who speaks native Spanish laughs at your work and go back into the Visual tab of your post. Paste the translated paragraph beneath the English version as a separate paragraph. Highlight it and now click thought bubble 2, which marks it as Spanish. Click over to the HTML tab and observe how it now has at the beginning of the paragraph “”and at the end of the paragraph “”. Alternatively, you could have pasted this in.
    13) Assuming the first paragraph is also your Excerpt, copy both English and Spanish versions into the Excerpt field. It is best to do this from the HTML tab to make sure you grab all the appropriate metadata.
    14) Update your post.
    15) Under Appearance (left column) > Widgets, find the XLanguage List widget. Drag and drop it into the right column wherever you want it. Do not add a Title into the Field, it’s not necessary.
    16) Go look at your site. You should now be able to click on either Spanish or English via the widget to change the language of the first paragraph of your post.
    17) Now you just have to translate the rest of your post.

  683. 683
    Rebekah Says:

    Well, despite putting the actual code that it generates for beginning and end of the paragraphs in quotes it won’t display in my instructions because the blog post thinks it’s actual code. You’ll see it.

  684. 684
    Rebekah Says:

    After figuring all this out today, I found a MUCH easier way to translate my blog. While my rudimentary Spanish skills can clean up free translation, it’s too much of a pain as my posts are rather long. I happened across http://www.appliedlanguage.com and found that they will email snippets of code to add to your site which will translate the entire page, links, headers and all, in one click. It certainly doesn’t make for a perfect translation, but it will have to do. I requested codes for Spanish to English (to be able to add the link to translate to English), English to Spanish, Portuguese, Dutch, French, Italian, Russian, Arabic (Modern Standard), Chinese (Simplified, Japanese, and Korean.

    They email a bunch of unncessary code around the real code, which I deleted (everything that comes before < a href = ” and after ), pasted them one after the other in a Text widget and I’m good to go! Check out my site to see.

  685. 685
    elearning concepts Says:

    I had that before also when the language packs worked. Anyway, for some reason no matter which lang is selected to view gallery only my default en_GB is used. newlang= etc paramaters passed on correctly in php but everything just stays in Eng.

    I´ve tried various different lang packs but no luck. Could someone please point me in the right direction on how to go about diagnosing this problem.

  686. 686
    Bono Says:

    Success!!!

    If you have problems log in on WP 2.8 to the admin area, or log out for that matter, try setting the locale of your wordpress installation to en_US. After doing that I was able to log in and continue my work as usual.

    Damn it’s a nice plugin to work with!

  687. 687
    Samuel Says:

    Hi, I have a problem changing to another language. Because at the moment I’m using one of my Page as homepage (instead of post page), but when I change to another language on homepage, it will jump to the post page, instaed of the same page but different language, any idea how can I solve this problem?

  688. 688
    Stefan Says:

    Hi

    I have problems with the Home page link generated with Mystic theam navigation bar when xLanguage is aktivated.
    The Home page is a static page, the first shown. The secons page in the navigation bar is the News page where all posts are shown.
    So the navigation bar creates the url: …/wordpress?lang=se witch takes me to the News page (…/wordpress?page_id=7&lang=se) instead of the Home page. If I enter the url: …/wordpress I am direkted to the Home page filtered with last active language. If I inactivate xLanguage everything works normal.
    Is there any solution to this?

    /Stefan

  689. 689
    Arkadaş arıyorum Says:

    I also tried to use this plugin, but somehow could not achieve, I think this business for aging. :P Anyway, thank you.

  690. 690
    kuty Says:

    hi. do you know any way to create sitemap for all used languages?

  691. 691
    se7en Says:

    I have trouble with the plug-in as soon as I add [slideshow id=3] or [table id=1 /]. Anything in [ ] will cause xLanguage not to work anymore. Does someone know how to fix that?

  692. 692
    Lucato Says:

    Hi folks,

    How can I make some parts of my theme such as the back end input fields for adding ads or texts/codes and the fron-ent at sidebars titles, tag dropdown lists, most popular and others, get to understand/accept the xlanguage code?

    Thanks in advance,
    Lucato

  693. 693
    Stefan Says:

    Well finally I got the Home page to work with xLanguage and the Mystique them.
    I had to add an extra prereg_replace() function in the theme header and hard code the page id in the failing link as shown below. Not a general solution but it works for me.

    // SteSva Start
    $Search = ‘/wordpress’ . ‘\?’ . ‘lang/’;
    $Replace = ‘wordpress/’ . ‘?’ . ‘page_id=3′ . ‘&’ . ‘lang’;
    echo preg_replace($Search, $Replace,
    //echo
    // SteSva End
    preg_replace(‘@\]*)>\]*)>(.*?)\@i’, ‘$3‘, wp_list_pages(‘echo=0&orderby=name&title_li=&exclude=’.get_mystique_option(‘exclude_from_nav’)))
    // SteSva Start
    );
    // SteSva End

  694. 694
    Brad Says:

    I’ve installed the xlanguage plugin and highlighted text in a post to be in two different languages, Czech and English. When I updated the post, though, the text in both languages was displayed, and nothing happened when I clicked on the English or Czech link to change languages. Any ideas on what I should change?
    I’d greatly appreciate it.
    thanks!

  695. 695
    Dario Novoa Says:

    This might be a stupid question but can’t seem to find the answer in jLanguage the Title had the languages there but with xLanguage it’s not there is there a simple way to have it there? or would I manually have to add the span tag to the title in each language?

    Thanks in advanced.

  696. 696
    Patrick Says:

    Hi! First, let me thank you for the plugin, makes it easy to write a blog in multiple languages :)

    I have one issue though: I couldn’t figure out how to offer image captions in different languages – the | syntax doesn’t seem to work there. Is there a way?

  697. 697
    waqar Says:

    its really wonderful as it gives the user very friendly facility to choose among different languages…

  698. 698
    Damaris Says:

    Hi Sam:

    Your app is awesome, I just have a slight, little, cosmetic problem: the images of the languages! By some sort of reason they are huge. Anything can be done about that? You can check my blog to see what I mean is the domain of the email :(

  699. 699
    josh Says:

    Hi,
    i’m not shure if this is the right place to post bugs….
    i found a bug in “list_langs.php” on line 25
    instead of
    “<a href="”> ”
    it should be
    “<a href="”> “

  700. 700
    josh Says:

    ok something went terrible wrong :D

    line 25 “?php echo $img ?” instead of “?echo $img ?”

    hope it will be displayed correctly ;)

  701. 701
    Arnaud Says:

    Hi ! I use your great plugin with three languages : FR/EN/ES. I also use the plugin POST NOTIFICATION whitch send an email to subscribers when i release a now post. I configured this plugin to add the three languages links. But, strangly, the plugin send an email only in MY language (fr) to every subscriber. I don’t know why..

    The plugin (post notification) also have a configuration page where there is a part : “Some plugins use filters to modify the content of an article. You can hope they do not modify one of your emails. Finding the right filter requires some testing.” I think this is where to configure that i don’t want the post notification plugin to not detect the xlanguage tag. But there is no xlanguage tag..

    Here is the list i have : wptexturize, convert_smilies, convert_chars, wpautop, prepend_attachment, generate_avatar_in_posts, post_notification_filter_content, visitors_map_post_map_filter, do_shortcode, GA_Filterthe_content, wpu_get_users, wp_dlm_parse_downloads, wp_dlm_parse_downloads_all, xmlgooglemaps_converter

    I think i need your help. I can add you to the newsletter if you want, to test, or send you anything you need. I’m with the last version of wordpress.

    Thank you very much in advance. I’m not posting my question on post notification plugin (http://wordpress.org/extend/plugins/post-notification/) because there isn’t much help over there, and it seems to have great dev support here with this great plugin.

    Hope you’ll be able to help me. Good night,
    Arnaud

  702. 702
    Peterkenne Says:

    Hi,

    There seems to be a conflict between xlanguage plugin and Contact Form 7 plugin. I created a form, but never succeeded to see the confirmation message after sending the mail.
    When I deactivate xlanguage, it works. Does someone faced the same problem ? And found a workaround ?

    Thanks

  703. 703
    Lars Hagen Says:

    Hello,

    I tried your plugin as an replacement for languageswitcher and its really nice. But one big problem: the method “empty_html” clears normal tags like ” as well, which is sometimes used by widgets. This is not a good solution. How can I disable this behaviour?

    regards,
    Lars

  704. 704
    Lars Says:

    another reason to NOT remove empty tags is that such tags often been used by ajax and or jquery code as placeholders or to insert content, dynamically. When these tags are removed by the plugin in canot work anymore… I already tried to remove some tags from the $useless_tag_names… but without any effect (but I’m also not so familar with regular expressions).

    So it would be really great if you could help here.
    Thanks!

  705. 705
    Arnaud Says:

    Hi ! I use your great plugin with three languages : FR/EN/ES. I also use the plugin POST NOTIFICATION whitch send an email to subscribers when i release a now post. I configured this plugin to add the three languages links. But, strangly, the plugin send an email only in MY language (fr) to every subscriber. I don’t know why..

    The plugin (post notification) also have a configuration page where there is a part : “Some plugins use filters to modify the content of an article. You can hope they do not modify one of your emails. Finding the right filter requires some testing.” I think this is where to configure that i don’t want the post notification plugin to not detect the xlanguage tag. But there is no xlanguage tag..

    Here is the list i have : wptexturize, convert_smilies, convert_chars, wpautop, prepend_attachment, generate_avatar_in_posts, post_notification_filter_content, visitors_map_post_map_filter, do_shortcode, GA_Filterthe_content, wpu_get_users, wp_dlm_parse_downloads, wp_dlm_parse_downloads_all, xmlgooglemaps_converter

    I think i need your help. I can add you to the newsletter if you want, to test, or send you anything you need. I’m with the last version of wordpress.

    Thank you very much in advance. I’m not posting my question on post notification plugin (http://wordpress.org/extend/plugins/post-notification/) because there isn’t much help over there, and it seems to have great dev support here with this great plugin.

    Hope you’ll be able to help me. Good night,
    Arnaud

  706. 706
    Carlo Says:

    I have 5 languages. I wrote some pages, and in each one I selected one locale in the xlanguage_available custom field. It does what I want: I can see each article only in its own language. But now I’d like to go to the same article in the other language when I click in the widget. AFAIK, I should give the same permalink to all corresponding pages, but this is not possible. How should I do?

  707. 707
    Arnaud Says:

    Everywhere in your post, when you write an article, you have to use the and ..
    Just translate every sentence in your post in all your language. You must have ONE post with 5 language, and not five post with one language each

  708. 708
    Kelly Says:

    Good Plugin! Thanks!

  709. 709
    Andersh Says:

    HI Guys..
    I have use the plugin for a couple of month now and have been very pleased with it, but now i got a problem i can’t solve on my own.

    I have moved a copy of my wordpress blog to a localhost installation using MAMP (on mac).

    All posts, graphics, pictures have moved fine… but the xlanguage plugin is giving some problems.

    It’s like the plugin is not active (it is) so I get both my language versions displayed at the same time.

    I have gone through all plugin settings and tried to reset it, but it still displays both language versions…

    Any one who has an idea what it could be? It works fine on the live website.

  710. 710
    Lucato Says:

    @Andersh
    Hey there, have you checked at the Xlanguage plug-in settings page the “Language (Advanced)” link on the top of the page and set the “locale code” for each theme?

  711. 711
    Printers Liverpool Says:

    That’s a really neat plugin. I’ve got a site which needs multi language support. This would be really ideal. Cheers

  712. 712
    ISO 9001 Accreditation Says:

    Such an awesome plug-in. Just the ideal one for my blog. Appreciate the work. cheers

  713. 713
    Isi Says:

    I have installed the plug in in my local computer and the widget is working properly but when I moved it to the hosted server It appears that is not redirecting it correctly to the second language that I am using. When I click the language option is redirecting it to the correct url but adding the https://……. header. Any ideas to solve the issue would be helpful. Any ideas why the Parser log is not working properly in the hosted server?

  714. 714
    Bryn Thomas Says:

    This application is just brilliant !I too have an issue with the images of the languages, how do you come around that? I’ve tried everything so far and nothing seems to work!! :(

  715. 715
    Jimp Says:

    @Bryn Thomas : It is not easy. A general remark is that the SPAN code has to be as near as possible to the language-specific parts. For example, if you have an hyperlink which is an image, you begin by opening a tag A, then the SPAN xlanguage tag, then the IMG tag, you close SPAN tag, repeats the last operation for all your languages, and finally close your A hyperlink tag.
    Pay attention : a small error displays the texts of all languages at the same time.
    Hope it helps …

  716. 716
    ray Says:

    hi,
    I like xLanguage very much, it has a lot of features and works fine, but I have 2 questions:
    1. Is xLanguage compatible with wordpress 2.9?
    2. I am not sure, but could it be that xLanguage is adding some tags when switching between editor and html view? I have this problem but have not tested if xLanguage generates the extra tags.

    regards
    ray

  717. 717
    Sandra Says:

    Hi,

    there is one problem with Web Accessibility. What will happen when you need to mark one word as another language in a text part?
    Did someone test it with a Screenreader?

  718. 718
    Sandra Says:

    Hi,
    I installed the german wordpress version. http://de.wordpress.com/ The default language is german. All wordpress words are translated to german.
    I installed and activated the plugin: first language de, second language en.

    It works with article and titles. But now the default language for the wordpress words is english.

  719. 719
    Yannick Says:

    Sandra,
    Your translations files needs to be named de.mo now. All localization files should follow the same behavior.
    Xlanguage unfortunately does not accept de_DE as a locale because _ is forbidden.

  720. 720
    Shaun Says:

    Help please have installed the plugin and it partly works but how do you get it to change the Wordpress wouds like Titles headings, the only things that change is the text on the page

  721. 721
    Sandra Says:

    Shaun, maybe it is the single line mode?

    First language|Second language

    Willkommen|Welcome //de and en

    You can set the order in the xlanguage option, under mix and match.
    Position 0 is the first, position 1 is the second. And -1 will show all.

  722. 722
    Sandra Says:

    Hi,

    the plugin is great. I love it. Thank you very much.

    It would be great, when we could find a solution for screenreaders. The problem is, that in German we use very often english words. This words should be shown in the german selection. In the correct way, it should be marked as english. Otherwise the screenreader would read it in german and that is very bad.

    bla bla bla ein bisschen deutsch Home weiter etwas deutsch
    The Screenreader will read this in german, and “Home” in english. For the markup, this is the right way to do it.
    But this will not work with this plugin.

    Here is my idea:
    Is it ppossible to use a css class for the language definition?
    bla bla bla ein bisschen deutsch Home weiter etwas deutsch
    The plugin still makes the markup and adds a class=xx”" attribute. Only when it is spelled in another language we have
    to change the lang=”" attribute. Maybe we have to make a prefix for the css classes, so we do not get problems with other definition for css classes?

    Best regards,
    Sandra

  723. 723
    Sandra Says:

    sorry i forgot to write it in the right way:

    First Example:
    < span lang=”de” > bla bla bla ein bisschen deutsch < span lang=”en” > Home </span> weiter etwas deutsch</span>

    Second Example:
    < span lang=”de” class=”de” > bla bla bla ein bisschen deutsch < span lang=”en” class=”en” > Home </span> weiter etwas deutsch</span>

  724. 724
    Sandra Says:

    Sorry again, it is not easy to write without preview ;-)

    Second example:
    < span lang=”de” class=”de” > bla bla bla ein bisschen deutsch < span lang=”en” class=”de” > Home </span> weiter etwas deutsch</span>

    Information for plugin: class=”de”.
    Information for Screenreader: first lang=”de”, for home lang=”en”

  725. 725
    sports supplements Says:

    True, this plugin also have a configuration page where there is a part : Some plugins use filters to modify the content of an article. You can hope they do not modify one of your emails. Finding the right filter requires some testing.” I think this is where to configure that i don’t want the post notification plugin to not detect the xlanguage tag. But there is no xlanguage tag.

  726. 726
    dave Says:

    This is a great idea for a plug-in – but I can’t seem to get it working on Wordpress 2.9

    I have installed it and customised it, but I can’t find ‘Display Filtering’ – it doesn’t seem to exist in 2.9 …. Any help?

    Thanks!

  727. 727
    dave Says:

    Don’t worry – I found it now. Seems I was just being a bit slow!

    Thanks for the truly awesome Plug in! 5* rating all