All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Language switching issue  (Read 1996 times)

0 Members and 1 Guest are viewing this topic.

Offline jvsvn

  • Newbie
  • *
  • Posts: 1
    • View Profile
Language switching issue
« on: 29 March 2008, 19:49 »
Hello all,

I am using wp-email and wp-print on a WP 2.3.3 install (not yet live). I am also using the Languge Switcher (LS) plugin by Jennifer Hodgdon (see it at http://www.poplarware.com/languageplugin.html).  Here is my issue. LS allows you to type post titles and post contents in various languages directly into the post editing interface by wrapping the various languages in special tags. For example, a post with the title "Home Game" can be directly input in both english and spanish by putting
Code: [Select]
[lang_en]Home Game[/lang_en][lang_es]Juego a Casa[/lang_es] in the title field. Then, when you switch between languages on the site, LS applies a filter and only displays the appropriate language (the same thing can be done with the post content).

Using Lester's WP-Print plugin, this functionality works perfectly (i.e it prints the title and the post in spanish when that is the site's selected language and in english when it is the selected language, etc. However, there is a problem with WP-email. Instead of switching between languages, it always puts the entire block of code
Code: [Select]
[lang_en]Home Game[/lang_en][lang_es]Juego a Casa[/lang_es] in the e-mail form, the confirmation messages, and the title and body of the sent email.

I should also mention that I created a .po and .mo file in spanish for the wp-email plugin and all of the gettexted content of the plugin itself is working perfectly when the site is switched between languages.

Does anyone know why the title is not being displayed correctly according to the selected langauge in wp-email. Again, this is not a problem in wp-print, which works perfectly. Thanks for the help.

James


Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Language switching issue
« Reply #1 on: 30 March 2008, 04:24 »
Multiple languages will not work with wp-email because the templates used are all based on single language.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.