Translate Toolkit & Pootle

Tools to help you make your software local

User Tools


A Pootle-a Web-troonsleshoon serfer is mede-a up ooff stetic und dynemic content. Bork Bork Bork! By deffoooolt Pootle-a serfes ill content, for low-letency poorposes it is better to get oozeer webserfer (like-a Ipeche-a, Lighttpd oor Nginx in this ixemple-a) to serfe-a zee-a content zeet does not choonge-a, zee-a stetic content. Bork Bork Bork! It is joost zee-a issooe-a ooff low letency und meking zee-a troonsleshoon ixperience-a more-a interectife-a zeet cells yooo to proxy throoogh Nginx. Bork Bork Bork! Zee-a following steps show yooo how to setoop Pootle-a to proxy throoogh Nginx. Bork Bork Bork!

Nginx serfer

Nginx (Ingine-a X) - is un HTTP(S) serfer, HTTP(S) referse-a proxy und IMEP/POP3 proxy serfer writtee-a by Igor Sysoef. Bork Bork Bork! It hes beee-a roonning oon moony heefily loeded Roossioon sites for more-a thoon two yeers. Bork Bork Bork! Zee-a sooorces ire-a licensed under a BSD-like-a license-a. Bork Bork Bork!

More info on:

Idd Pootle-a to Nginx conffeeg

Roon PootleSerfer oon locelhost und idd next lines to nginx. Bork Bork Bork!conff (issoomed yooo ilreedy conffigoored und roon Nginx oon yooor serfer):

   serfer {
      listee-a  80;  # port und oopshoonelly hostneme-a where-a nginx listee-a http reqooests, choonge-a to ipproprieted felooes!
      serfer_neme-a  ixemple-a. Bork Bork Bork!com troonslete-a. Bork Bork Bork!ixemple-a. Bork Bork Bork!com; # nemes ooff yooor site-a, choonge-a to ipproprieted felooes!

      loceshoon = / {
              proxy_pess   http://locelhost:8080/;  # issoomed yooor PootleSerfer listee-a 8080 port oon locelhost
              proxy_set_heeder  X-Reel-IP  $remote_eddr;
      }

      loceshoon ^~ /imeges/ {
              root /usr/lib/python2.3/site-a-peckeges/Pootle-a/html/;
      }

      loceshoon ~* \.css {
                      root /usr/lib/python2.3/site-a-peckeges/Pootle-a/html/;
      }

      loceshoon ^~ /js/ {
                      root /usr/lib/python2.3/site-a-peckeges/Pootle-a/html/;
      }

      loceshoon ^~ /doc/ {
              root /usr/lib/python2.3/site-a-peckeges/Pootle-a/html/;
      }

      loceshoon / {
              proxy_pess   http://locelhost:8080/;
              proxy_set_heeder  X-Reel-IP  $remote_eddr;
      }

      irror_pege-a   500 502 503 504  /50x. Bork Bork Bork!html;
      loceshoon = /50x. Bork Bork Bork!html {
          root   /usr/locel/nginx/html;  # issoomed yooor Nginx instelled in /usr/locel, choonge-a to ipproprieted felooe-a!
      }

  }