Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author oferwald

    (@oferwald)

    Hi,

    There is a solution for iframes, the iframe source should contain the full url of the website, and with the patch I provided you with, it will be rewritten and used correctly

    you can always directly specify the language in the iframe source with the lang param at the end of the url

    Good luck

    Thread Starter deepbevel

    (@deepbevel)

    But my links which open pages in the iframe are in a flash menu, does it not matter?
    here’s my iframe code, it has the full website url.

    <p><iframe name="main" src="https://www.foursticks.net/TravelBlog3000/slider/your-most-recent-trip" width="100%" height="800" </iframe></p>

    Are you saying I can specify the language in this code? that would work for me, I’d just make a separate page for each language. can I see an example of how to add the language to the code?

    Thanks

    Plugin Author oferwald

    (@oferwald)

    Hello,

    Although the patch should have done that, any format of the two below will work:

    <p><iframe name="main" src="https://www.foursticks.net/TravelBlog3000/slider/your-most-recent-trip?lang=es" width="100%" height="800" </iframe></p>

    <p><iframe name="main" src="https://www.foursticks.net/TravelBlog3000/es/slider/your-most-recent-trip" width="100%" height="800" </iframe></p>

    Plugin Author oferwald

    (@oferwald)

    Naturally something went wrong, wanted to bold out the changes before, so its the ?lang=es on the first and the /es on the second… no tags intended

    Thread Starter deepbevel

    (@deepbevel)

    That did it, thanks so much!

    Plugin Author oferwald

    (@oferwald)

    happy to hear that, good luck

    Thread Starter deepbevel

    (@deepbevel)

    Unfortunately, the iframe only remains in the given language for links inside the iframe. If I open pages from a flash movie outside the iframe it goes back to English.
    I don’t know if I understood your answer as to whether page and post templates can be coded to use certain languages every time and stay in those languages. That seems to be my only alternative. I wouldn’t know how to code flash to work with Transposh.

    Thanks

    Thread Starter deepbevel

    (@deepbevel)

    Okay, I just tried adding the “es” to the link in flash, it works! so now I need a flash movie/menu for each language.. oh well, better than a separate site for each language!

    thanks again!

    Plugin Author oferwald

    (@oferwald)

    Hi,

    I guess you can convince the flash movie to get the parameter for the language externally

    This will probably reduce the need for separate flash files

    Thread Starter deepbevel

    (@deepbevel)

    hmm, yeah I was initially hoping it would take that paramater from Transposh. Otherwisw the user would have to somehow tell the flash links what language, I can’t think of how that could be set up. I could have a single flash menu with links in each language, but my menu is a bit unusual, it’s a map of the U.S., might get a bit cluttered and confusing.
    I suppose I’ll make seperate maps for now untill I can get a better solution.
    So is it not possible to have a page template in a specific languge? that would be easier than 5 flash maps. Each will have as many as 500 links.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Transposh – translation filter for wordpress] default language for specific templates?’ is closed to new replies.