Ultimate Translate Question

Is there a way for me to change the ads that view on different language pages? Like a variable that is set or custom field that is set if its a translated page?

If not I would like to suggest that for a future version.

Thanks

-Brad

  • btray77
    • Site Builder, Child of Zeus

    To answer your question, yes…

    It would be GREAT if there was a variable that was called language and it showed 27 for spanish or whatever… That way I can do my own ad changes for specif markets, vs hoping AdSense will convert at least enough to cover the server costs.

    Thanks

    -Brad

  • Austin
    • WPMU DEV Initiate

    It would be GREAT if there was a variable that was called language and it showed 27 for spanish or whatever…

    This isn’t exactly the same, but you should be able to call the following in your theme and get the two-letter language code (e.g. “fr” for French):

    get_query_var('language_pattern');

  • zolabud
    • New Recruit

    hi

    any ideas how to pass the translated title of the post or page back to ALL IN ONE SEO PLUGIN?

    i use this function elsewhere:

    add_filter(‘aioseop_title_page’,’FUNCTIONNAME);

    so the hook into AIOSEO Plugin to change the title of the page is: aioseop_title_page

    the question? how to pass translated title of page to this plugin to change the document title on the fly?

    cheers

    bryan

  • zolabud
    • New Recruit

    hi

    i am trying to replace the value of the page title (document title value – meta value…:wink:

    so

    1. retrieve translated version of the post or page’s title

    2. insert this translated version into <title>xxx</title>

    i use a plugin called all in one seo – that can override the meta title value.

    the hook within all in one seo is: aioseop_title_page

    so the reference above was a question about how to pass the translated title of the post or page back to this plugin to create a unique language/translated specific meta title value…

    currently the contents of the post or page is translated which is awesome – but the document title remains in english…

    make sense now?

    cheers

    bryan