DISQUS

Climb to the Stars: Basic Bilingual Plugin

  • Izo · 4 years ago
    Hi !
    I just tried to install the plug-in you created but... even when I activate it, nothing appear on the "write" page in WordPress. First, I thought that was a result of a tiny manipulation on your file (I just tried to configure it for three different languages ; including french, english and japanese) but now that I erased these added lines, it s just like the same as before. I wonder if that s a problem of version. I m using Wordpress 2.2.

    Izo
  • Steph · 4 years ago
    Izo: that would be it. I doubt the plugin hooks I use to add fields in the "write" page exist in 1.2. One exciting feature of the upcoming 1.5 is precisely to allow plugin writers to mess with admin pages!

    Sorry about that :-/
  • Izo · 4 years ago
    Well, so you think I should consider upgrading my version of Wordpress ?

    Izo
  • oso · 4 years ago
    Hi Stephanie. I've started using basic bilingual on my blog and, until a sophisitacted polyglot plugin comes around, this is exactly what I was looking for. Works great - thanks a lot!
  • stilgar · 4 years ago
    Hello ! Thanks for this plugin and the idea !

    I've modified it a little for my own blog I added more languages and added a function to display a little flag, and instead of displaying an excerpt in another language, I'm displaying an excerpt in a common language.

    Too bad there aren't any action hooks in Wordpress to display the language selection combo without position:absoluute..

    If you want to check it out, this is the plugin page, and to see the admin pages you can try the live demo.

    Thanks again, great work !
  • Stephanie · 4 years ago
    Great work, stilgar! Haven't seen it work (no time), but I'm really happy to see people building on my plugins.
  • Alex · 4 years ago
    In the documentation for this plugin, you write "Once meta data has been stored for a post, you need to make it visible in the template." Can you say a little more about that? I installed the plugin, but the second language entry does not show up in my blog. Do I need to edit any templates? I'm using WordPress 1.5 (blue default theme). Thanks for your help.
  • Axel · 4 years ago
    Heya, hot stuff this plugin of yours. I have installed it and I am using it for English and German. As my blog might get one or two more authors who write in languages other than those two I'd like to get straight if theoretically it would be possible to enhance the plugin? Will simply extending the array do the trick?! (maybe a stupid question, but I'm really not the coder type) I'd be happy to get some info on that. Keep rockin'
  • Stephanie · 4 years ago
    Glad you like it! I'm certain it's possible to extend it to include a larger finite number of languages, but I'm not sure how it would be done. Do post something here if you do change it! Many people would love to use it.
  • AsharEdith · 3 years ago

    Hi Steph!
    I hav a question... I'm new to WordPress... Therefore I have NO idea where do I have to aplly the tags ... Can you write me a short dummy/moron prove explanation of what I have to do after activating the plugin? Please!

  • Stephanie · 3 years ago

    You need to edit the theme you're using (under "presentation", "theme editor"). It depends on which theme you're using. You'll want to find the file in the theme which displays posts, edit that, and add the tags at the right place in the code.


    Let me know if this is enough or if I must go more into details.

  • AsharEdith · 3 years ago

    Steph,
    I'm affraid I need more detail. =0(
    The tag should be like this? =


    Don't have to do anything on the CSS file?

  • AsharEdith · 3 years ago

    The tag shud be preseded by < ? php ?????

  • Stephanie · 3 years ago

    I can't walk you through it step by step, I'm afraid, but yes, the tag needs to be between < ? php and ? > (without spaces) as it is in fact a php function.


    And I'd suggest doing stuff in the CSS file to make things pretty -- the wiki page points you to where I explain what I did to the CSS.


    If you need more help you can try joining #wordpress on chat.freenode.net (IRC) and ask there. I might be in.

  • Toru · 3 years ago

    Hi Steph,
    Just to let you know that Basic Bilingual is working happily with mixture of single and multi-byte language; English and Japanese. Great !

  • Jerome · 3 years ago

    Ca y est, ca marche!
    Great, now working!

  • triqui · 3 years ago

    I managed to solve the problem of having WordPress in two (or more) languages in a rather new way, check it out if you think it can be useful
    www.emanueleferonato.com/2006/05/26/wordpress-i...>