Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Installation help

  1. #1
    wagga2650 is offline Unknown Net Builder
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Installation help

    Hi I found your script and was wanting to clarify an installation thing

    I followed all your directions in the readme and then when it came to this part

    Place the links from one of the flag files somewhere on your web page


    what is the link and what am I linking to, where is the flags files?

    Also in the lang folder should there be anything else other than a .htaccess file like some othere languages.

    I have the latest download you posted on your site as well.

    Thanks in advance.

  2. #2
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by wagga2650 View Post
    Place the links from one of the flag files somewhere on your web page
    what is the link and what am I linking to, where is the flags files?
    You can find sample links in the include directory. For Google translate, use flags-google.shtml as an example of what your links should look like.

    Quote Originally Posted by wagga2650 View Post
    Also in the lang folder should there be anything else other than a .htaccess file like some othere languages.
    Nope, that's all you need in there.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    wagga2650 is offline Unknown Net Builder
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Just one other question so far.

    will it work if all my file extensions are .htm

  4. #4
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Yes. You have to specify file extensions which you want it not to translate.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  5. #5
    wagga2650 is offline Unknown Net Builder
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Something is wrong here with this. It can't find the language files it says they are not on the server

    here is my test page Graham's Computers and Web Design

  6. #6
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    When I see the ">, it usually means that Apache is not executing PHP code inside HTML files.

    You'll probably need to put a line like this in the .htaccess file in this domains DocumentRoot:
    Code:
    AddType application/x-httpd-php .htm
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  7. #7
    wagga2650 is offline Unknown Net Builder
    Join Date
    Feb 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    is that something I can do or do I need my webhost to do it.
    If I can do it wheich .htaccess file is it as there is many in your script

    I also notice that "> is the extra part on your sample script, coudl it be that it is incorrect there

    here is the souce of your code you can see it

    Code:
                            
    <!-- google_ad_section_start(weight=ignore) -->
    <table width="100%" align="center">
    <tr>
    <td><a href="/lang/en<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/american.jpg" alt="English"></a> </td>
    <td><a href="/lang/de<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/german.jpg" alt="German"></a> </td>
    <td><a href="/lang/es<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/spanish.jpg" alt="Spanish"></a> </td>
    <td><a href="/lang/fr<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/french.jpg" alt="French"></a> </td>
    <td><a href="/lang/it<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/italian.jpg" alt="Italian"></a> </td>
    <td><a href="/lang/pt<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/portuguese.jpg" alt="Portuguese"></a> </td>
    <td><a href="/lang/ru<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/russian.gif" alt="Russian"></a> </td>
    <td><a href="/lang/ja<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/japanese.jpg" alt="Japanese"></a> </td>
    <td><a href="/lang/ko<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/korean.jpg" alt="Korean"></a> </td>
    <td><a href="/lang/zh-TW<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/chinese.png" alt="Traditional Chinese"></a> </td>
    <td><a href="/lang/zh-CN<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/chinese.gif" alt="Simplified Chinese"></a> </td>
    <td><a href="/lang/ar<?php echo $_SERVER["REQUEST_URI"] ?>"><img src="/graphics/saudiarabia.gif" alt="Arabic"></a> </td>
    </tr>
    
    </table><!-- google_ad_section_end -->

  8. #8
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by wagga2650 View Post
    is that something I can do or do I need my webhost to do it.
    If I can do it wheich .htaccess file is it as there is many in your script
    The main .htaccess file for your web site.
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  9. #9
    Alejandro Weber is offline Unknown Net Builder
    Join Date
    Mar 2009
    Location
    Mendoza
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi again Will, I follow this post because I have the "> issue; I solved from httpd.conf with this line:
    AddType application/x-httpd-php .php .shtml .html .htm ; don't know why the same line in the .htaccess in my root directory and any directory doesn't work

    Now, if you take a look at this link:
    http://www.e-radiocontrol.com.ar/inc...s-google.shtml

    The "> is gone and the redirection is implemented. But... when you click in any flag, ther was a wrong redirection? wath is wrong here?

    http://www.e-radiocontrol.com.ar/lan...s-google.shtml

    Always have a "Not Found".... of course I created the subdirs lang/it/

    Thanks in advance

  10. #10
    Will.Spencer's Avatar
    Will.Spencer is offline Retired
    Join Date
    Dec 2008
    Posts
    5,033
    Blog Entries
    1
    Thanks
    1,010
    Thanked 2,329 Times in 1,259 Posts
    Quote Originally Posted by Alejandro Weber View Post
    http://www.e-radiocontrol.com.ar/inc...s-google.shtml
    ... when you click in any flag, ther was a wrong redirection? wath is wrong here?
    I'm confused. It looks like the links are pointing to the wrong places?

    The German flag points to http://www.e-radiocontrol.com.ar/lan...s-google.shtml

    Instead, it should point to <?php echo $_SERVER["REQUEST_URI"] ?>.

    Here's how to do that:
    Code:
    <li><a href="/lang/de<?php echo $_SERVER["REQUEST_URI"] ?>">German<img src="/images/de.png" width="16" height="11" alt="German"></a></li>
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

Page 1 of 2 12 LastLast

Similar Threads

  1. [WTS] Wordpress Installation For $10!
    By spesialis in forum Services
    Replies: 0
    Last Post: 13 December, 2010, 13:43 PM
  2. [WTS] $1 Script Installation
    By haynes11 in forum Services
    Replies: 0
    Last Post: 10 June, 2010, 20:08 PM
  3. Installation Troubles
    By affpro1234 in forum Translation Script Support
    Replies: 17
    Last Post: 14 September, 2009, 08:03 AM
  4. Installation Help and Advice
    By davesnake in forum Translation Script Support
    Replies: 19
    Last Post: 23 April, 2009, 23:25 PM
  5. [WTS] $6 Wordpress or PHPLinkDirectory Installation
    By gray929 in forum Services
    Replies: 3
    Last Post: 13 January, 2009, 01:22 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •