Language Switcher and Atahualpa 3
I am using your theme on my website http://www.axiotonal.com since a year or two and I just upgraded to the outstanding v3.2.
The only problem I am running into is the fact that I am using the plug in Language Switcher to be able to offer a multilingual version of our website. This plugin was working fine in the last version installed (v2.1) but not in 3.2: EVerything is ok (post language switching for instance) but the main title in header and the categories in posts footer (see website). I asked the developer of that plugin and she told me the following: Quote:
If not, do you know of any alternative that would allow me to offer english AND spanish content ? Thanks a lot for anyone's help. |
With "main title in header" you mean the blog tagline "The Axiotonal Integration" right, and not the post titles?
The part about filtered and unfiltered is true, I'll try to make a modified version of bfa_postinfo.php later today, in a few hours, and will post it here for you to try out. |
Hi Flynn,
Thanks a lot !!!!! Yes I meant the main title in the header (La Integracion Axiotonal and The axiotonal Integration) |
Can you please try this:
In functions/bfa_header_config.php, find, starting at around line 85: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
worked like a charm!
Thanks a lot :) |
Thank you so much Flyn, it works perfect on my Blog too: www.anbinh.info/blog
Can you also help me with a hack to also internalise these texts too: "Tags", "Category", "Leave a comment" under each post info "Home" in page menu bar "Posts" and "Comments" on the subscription in the top-right corner and also their tooltips Prefilled text in the Search box :) I hope it's not too much. Btw, I'll update you with the latest vi.mo translation soon. |
Those terms are not generated by WP functions but plain text and can be customized through the Theme Options. The ob_start() technique I used above was for functions, it wouldn't change the terms you mentioned.
I will localize them though for one of the next versions. Thanks, I have already updated all .po/.mo files for 3.2 and they're already included in the release. It would be good if you could do an update once those default terms in the Theme Options are localized though. |
Thanx Flynn for ur super fast response. Clear about those!
How about the copyright at the end of the page? Both Arnaud's and my website have the same issue. |
Hello, I have the same problem that the tagline doesn't work with Language Switcher.
I tried the fix in functions/bfa_header_config.php and in functions/bfa_postinfo.php, but it didn't work. Did I make a mistake, or are these fixes not working any more with Atahualpa 3.3.3? Thanks in advance Pitt P.S. Are you considering implementing the change in Atahualpa 3.3.4? |
Quote:
|
Hello Flynn,
yes, I definitely have 3.3.3 installed and activated. You can have a look at the provisional location of my site: funck.ch/wordpress. When I insert [lang_en], [lang_de], [/lang_en] or [/lang_de] in the tagline, they appear as such in the website instead of being interpreted. Cheers, Pitt |
I've found out something: Language Switcher DOES work with the tagline in the logo area, but it DOESN'T work with the tagline overlayed over the header image...!
Cheers, Pitt |
Quote:
|
Thanks a lot, looking forward to 3.3.4...
For the time being, is there a quick and dirty fix by editing some .php files? I found another place where Language Switcher is not working: the name of the home link in the page menu bar... Thanks and cheers Pitt |
Hi,
I encounter a problem of the Atahualpa 3.4.2 theme together with the Language Switcher plugin. The page/post title (body title) (e.g.: "[lang_en]Title[/lang_en][lang_de]Titel[/lang-de]") is only resolved by LS when you directly publish the page. If the page is modified later, or it is first saved as draft and published later, then the body title will not correctly be published on the website (i.e. the full string as given above is printed); but the links to the page seems to be okay. It seems, that your introduced "bfa_ata_body_title" or "bfa_ata_body_title_multi" attributes are responsible for this behavior. If I remove the strings from the Atahualpa Page Options and the Custom Fields in the page edit form before publishing, then it seems to be okay again. Until you start to edit the page again.... Maybe this behavior corresponds to the situation described in the Language Switcher FAQ, point 4, doesn't it? Is there an easy fix? Regards, Stefan |
I've got the same problem... so this is a gentle bump...
|
Try replacing in functions/bfa_post_parts.php, this:
PHP Code:
PHP Code:
|
Not sure what I am doing wrong.
I have Atahualpa 3.4.1 installed and the code you refer to above in #17 Flynn is not available in my bfa_post_parts.php. I can not find the section to remove. When searching for the section to add instead I can not find that either. Am just getting tired or what?:confused: |
Hi Flynn,
Thank you very much. That seems to work for me. Regards, Stefan |
Quote:
Parse error: syntax error, unexpected T_VARIABLE in /home/funckch/www/funck.ch/wp-content/themes/atahualpa342/functions/bfa_post_parts.php on line 76 What was my mistake? Thanks in advance Pitt |
All times are GMT -6. The time now is 09:06 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.