Link to equivalent page in another language

I'm in the process of building a new site, English and
French. Using simple HTML and/or JavaScript (or maybe ASP or CGI)
does anyone know of a way to have a link dynamically change
depending on the page the user is on?
For example, if I am on www.website.com/en/123.htm, have the
link to "French" revise itself to www.website.com/fr/123.htm
I would think this is a simple replace "/en/" with "/fr/".
Maybe an extension? If anyone has the answer, I'd greatly
appreciate. Thanks.
Sly

Dr Tax escreveu:
> I'm in the process of building a new site, English and
French. Using simple
> HTML and/or JavaScript (or maybe ASP or CGI) does anyone
know of a way to have
> a link dynamically change depending on the page the user
is on?
>
> For example, if I am on www.website.com/en/123.htm, have
the link to "French"
> revise itself to www.website.com/fr/123.htm
>
> I would think this is a simple replace "/en/" with
"/fr/". Maybe an extension?
> If anyone has the answer, I'd greatly appreciate.
Thanks.
>
> Sly
>
There are some free MaxMind APIs, like: Apache Module, C, C#
Class, Java
Class, MS COM Object, Pascal, Perl Module, PHP Module, Python
Class,
Ruby Module, VB.Net and Javascript - that can be used to do
this.
(The Javascript API, does not require any additional install,
can be
used directly!)
I'm using the PHP Module to detect the country in my site,
and I have a
tutorial on how to do it work:
http://www.educar.pro.br/en/b/geoip/
Information on other APIs, can be found in the MaxMind site:
http://www.maxmind.com/app/api
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
Você deve, sempre, consultar uma segunda opinião!
Deixe todos saberem se esta informação foi-lhe
útil.
You must hear, always, one second opinion! In all cases.
Let the people know if this info was useful for you!

Similar Messages

  • Generalizing the return page number when linking to a page in another app

    Hello.
    I know how to link to a page in another app within the same workspace. However, my problem arises when the user tries to go back to the page in the first app.
    Is there a way to "generalize" the "return path". I do not want to hard-code the return page number within a "back link" element on the target page. I was wondering if there is some sort of substitution string I can use in the return http address that automatically "knows" what the returning page number is. Hope I'm making sense here.
    Thanks for any help/advice.

    Funky:
    I have tried some work but no success
    I don't know what you are asking of me. I have given detailed step-by-step instructions on how to implement what I suggested earlier on in this thread. Look at my postings on 9/13/2006. What part are you having trouble with?
    Could you be more specific?
    I'm afraid I am going to have to ask you the same question.
    if page is not submited (called through Tab)
    Apex standard tabs do submit the page and fire after-submit computations defined on the calling page before branching to the "current" page for the tab you click on.

  • Linking to a page in another page group

    Can someone tell me whether it is possible to create a link to a page in another page group? If yes, how?
    Thanks in advance,
    John

    Here is what I have done to get around this. It appears to work with a quick test. Let's say that on a page in page group B I want to navigate to pages in page group A. In page group A I create a navigation page with my links - lists of objects, page links, etc. As noted in the discussion I can only add pages from page group A to this list. Then I publish this page as a portlet. On my page in page group B I add a small (narrow) portlet region and add my page group A navigation portlet with the page links to it.
    The limitation to this approach is that I cannot mix links from different page groups in my portlet, but if I needed this effect I can always make a series of little navigation pages from different page groups and intersperse them as portlets on my page group B page.

  • Page-link linked to a page in another pagegroup

    Hi,
    Is it possible to make a page-link that is linked to a page in another pagegroup ? If yes, how ?
    Thanks for your help,
    Jean-christophe

    I would like to know this too. I found this link on OTN that discusses the same issue and mentions a bug in 902, but cannot find this bug referenced on Metalink.
    Re: Linking to a page in another page group
    It is surprising that such a bug exists, this is basic portal functionality.
    Anyone have additional information?

  • How can I change Pages to another language so it doesn't underline everything?

    How can I switch Pages to another language so it doesn't underline everything?
    Also, how can I get a Pages document into iTunes for sharing?  That option doesn't appear when I click on Share.
    Thanks.

    Viajero,
    Change the Language attribute of your text in Text Inspector, More tab, Language section.
    Getting your documet into iTunes isn't necessary if you upgrade to Mountain Lion where you will have direct access to iCloud.
    Jerry

  • Copying a link from one page to another in safari

    Hi
    I am trying to copy a link from one one page to another, it will let me copy but not paste, any solutions?

    In Inspector go to Link and select Link To: One of My Pages. You will be able to select the blog page.

  • Linking to a page in another pdf

    Using ID, is it possible to create a pdf that will have a link to a specific page in another pdf?

    Indeed it is
    Select your text and open the hyperlink panel (Window>Interactive>Hyperlinks)
    In the Hyperlink Window in the panel insert the location of the PDF on the internet (copying the url is usually the best way)
    For example:
    http://www.adobe.com/content/dam/Adobe/en/products/indesign/pdfs/creating-accessible-pdf-d ocumentw-with-adobe-indesign-cs6-v3.pdf
    If you suffix the link with
    #page=3
    It will open on that page!
    http://www.adobe.com/content/dam/Adobe/en/products/indesign/pdfs/creating-accessible-pdf-d ocumentw-with-adobe-indesign-cs6-v3.pdf#page=3
    Happy InDesigning!

  • How to add link to specific page in another PDF

    I'd like to create a link within a PDF to a specific page in a different PDF. As far as I can tell, the Create Link tool will only allow me to open another PDF on page 1. I know you can link to another page in the current PDF, but I need to link to a separate PDF. I have also found info on mechanisms for opening to different pages, but these are for opening using browsers or code.
    So, is it possible to link create a link in a PDF to a specific page in another PDF?
    Thanks for any suggestions.
    - John
    PS - I'm using Adobe 7.0 Professional.

    Try this...
    You can link to a specific page in a specific PDF from a bookmark. You navigate to the new view (page of a PDF) when creating the bookmark.
    When you want to do that with a link (as in selected text in the body of the PDF) you have to do it in two steps. Use any file open to create the link, then edit the properties of the link, select the Action tab, and change the action to Go To A Page View.
    That's how it works in Acrobat 8, but I'm betting it's the same in 7.
    Bear

  • Using apex url to link to a page in another application

    hi all.
    i have 5 applications based on same schema in a single workspace. now i intent to have a single page with 5 button from where i will call all those 5 applications' home pages.
    i used following syntax for URL Target on a button to check it but it didnt work.
              f?p=102:101:&APP_SESSION.
      i can very easily to a page in same application (offcourse) but i want to ask that can we link to a page which is in another application in same workspace
    bundles of thanks in advance.

    Check out this link
    http://apps2fusion.com/at/64-kr/413-maintaining-authentication-between-apex-applications

  • I have firefox version 3.5.2, I have received an email with a link to a web page which is in another language. How do I translate this into english?

    I have firefox version 3.5.2 and would like to know how to translate a web page from another language into english

    This is not really a firefox topic. There are many translation services of different sorts. Do a web search. Maybe try [http://translate.google.com/#fr|en|]

  • Link from one Page Group to another

    It it possible to click on a link in one page group and link to a page in another page group.

    Create a "Page Link" item, one of the built-in item types. When specifying the attributes for this item, you should be able to choose pages in other page groups.

  • Linking IWEB pages to another is failing

    When using Iweb I have no problems with linking the various pages to another via the buttons  bar on top of the page. However, when I publish the project to my desktop all the buttons on the bar are missing so that I cannot open the other pages. Hasd anyone the same experience and how to solve this? I am using IWEB 11.

    Are you getting a bullet (•) instead of the navbar at the top? That's an indication that not all of the site files have been uploaded.  What's the URL of your site so we can examine it first hand?
    OT

  • How to setup a link that is of the type "Go to a page in another document"?

    Is there a direct way for a javascript to setup a link that is equivalent to the acrobat link type  you get when you add a link of the type “Go to a page in another document”?
    Tools-Advanced Editing-Link tool, make a box
    Check: Go to page view, Next (Create go to view dialog opens)
    Open second document and go to page
    Click “Create go to view dialog” to set up link
    Result is a link, when view by link properties, with an action of
    Go to a page in another document
    File: C:\My Documents\File2.pdf
    Page: 43
    Zoom level: Custom
    I have a java script in a setAction of a link that I think does the job:
    l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 1 - 1;");
    But is there a more direct way that actual sets up a “a link of the type Go to a page in another document” so if it's "advanced edited" its the same as the manual set links?
    I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
    John
    Code example in more detail:
    /* Insert document level JavaScript to set disclosed = true.
       This will run when the document is opened.*/
    this.addScript("setDisclosed", "this.disclosed = true;");
    // Search through the document for the word “Acrobat” and create a link around that word.
    for (var p = 0; p < this.numPages; p++)
        var numWords = this.getPageNumWords(p);
        for (var i=0; i<numWords; i++)
            var ckWord = this.getPageNthWord(p, i, true);
            if ( ckWord == "Acrobat")
                var q = this.getPageNthWordQuads(p, i);
                // Convert quads in default user space to rotated
                // User space used by Links.
                m = (new Matrix2D).fromRotated(this,p);
                mInv = m.invert()
                r = mInv.transform(q)
                r=r.toString()
                r = r.split(",");
                l = addLink(p, [r[4], r[5], r[2], r[3]]);
                l.borderColor = color.blue
                l.borderWidth = 1
                //l.setAction("this.getURL('http://www.adobe.com/');");
               l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 3 - 1;");
    Current Systems in use to create documents with links and view them:
    Windows XP SP3
    Word 2003 SP3
    Acrobat 9 pro version 9.4.4
    Or just to view them:
    Mac OS 10 Lion version 10.7.4
    Acrobat 9 pro version 9.5.1
    (note I have limited understanding of Mac’s)

    If you use buttons instead, it is possible to script adding the actions that you want. It involves creating a properly constructed FDF, saving it, and then importing it into the document. Buttons can be made to appear just like links. For more information, see: http://www.planetpdf.com/developer/article.asp?ContentID=6338

  • In Muse can you link to an element on another page?

    I was hoping that there was a way to link to an "element" (Not a page!) located on anther page either through Muse natively or by a script.  I'm not a coder or I wouldn't be using Muse.  I know you can link to other pages but I don't know about elements of other pages, specifically a "Lightbox" pop-up.
    I have a pop-up on a secondary page, lets say page 2, that I would like to also pop-up on anther page, lets say page 1, when clicked from page 1 but I don't want to have to put this Lightbox pop-up in two (both) locations because I actually have a couple hundred of these.
    Any suggestions would be greatly appreciated.
    Thanks,
    Ryan.

    If you want the pop up on multiple pages you will need to put it on multiple pages. Or you could add the link to the pop up as well as the pop up itself to a template and create the pages that you want that pop up using that template. Another one you can try is to have your pop up on a page all by itself with no template or other content and then add the page to any other page using an iFrame.

  • Setting up a link from a grid to another page

    All,
    Is there a way to create a link from a grid to another page?
    Thanks.

    You will need to find a tutorial for a drop down or cascading menu.  What you should try is to Google "AS2 drop down menu tutorial" and "AS2 cascading menu tutorial".  You may not find exactly what you are describing, but will hopefully find something you can figure out how to adapt to meet your goals.

Maybe you are looking for