SEF Translate

For start use SEF Translate Pro you need:

  1. 1. Install SEF Translate component.
  2. 2. Install SEF Translate module.
  3. 3. Goto setting SEF Translate module.
    1. 3.1 Set method translate for you site, when user click to flag or check language on select on you site.
      If select Jquery then when user select translate you site automatic translate with out redirect.
      If select Redirect then when user select translate start redirect and open you page on select language.
      If you use redirect method translate and cache page that when user is authentication's on Joomla him page not save on cache and method translate switch to Jquery. This functional for security users data.
    2. 3.2 Select language flags which to need for view on frontend.
    3. 3.3 Select language which to need view on frontend in drop-down menu. If you do not select a language, you will not see the drop down menu.
    4. 3.4 Please set option "Use SEF" That option need for corect define URL for translate when you use "Redirect". If you use on self site SEF for URLs - please set to YES, if not use - please set to NO
  4. 4. Goto setting SEF Translate component tab General.
    1. 4.1 On tab "General" field "Site Language" select language of you site.
    2. 4.2 On tab "General" field "No translate phrase" insert phrase or worlds which you want not translate.
    3. 4.3 If you want not translate some page, please set it on tab "General" field "No translate page".
    4. 4.4 If you have problems with service google translate. You can help add API key on tab "General" field "Google API Translate"
    5. 4.5 On tab "General" field "Use userip" select use userip argument. This argument supplies the IP address of the end-user on whose behalf the request is being made. That option you must set if have some problem with translate from Google. Gogle limited translation number without that parameter
    6. 4.6 On tab "General" field "No translate tag" select support google not translate tags - if you want use so tags on self site.(< meta name="google" value="notranslate" ..., < span class="notranslate">...< / span>)
    7. 4.7 On tab "General" opton "Debug " need for error check. If some page after translate show blank page - please set that option to "Yes"
  5. 5. Goto setting SEF Translate component tab Cache.
    1. 5.1 On tab "Cache" field "Caching" select use caching for you translate page. When use cache and some module or component show dynamic info it has bad work.
    2. 5.2 On tab "Cache" field "Cache time" insert count time after this cache it has been update.
    3. 5.3 For identification site pages when we create cache, we use POST+COOKIE+URL. If you have page which after reload have different value for some keys in POST or in COOKIE (for example use google analystic), please set these kyeys for remove from cache page name definationWarning! Only for experienced users. In ours site we remove from cach page define all COOKIES. Remark: We turn off Cache at time redirect mode when User has Login to site. Module work switch to AJAX mode - that do for site securety
    4. 5.4 On tab "Cache" button "Clear Cache" give possibility clear cache.
  6. 6. Goto setting SEF Translate component tab Map.
    1. 6.1 On tab "Map" field "Site Map Component" select component used to generate a site map.
      If you set "not use" or set not install component you have generate site map only main menu.
      If set component you have generate site map it this component and additional it will translate to all selected languages
    2. 6.2 On tab "Map" field "Languages sitemap" select languages to which need translate site maps.
    3. 6.3 On tab "Map" field "XML Sitemap URL" that link for XML site map for registration on Search Engines like Google or Yahoo.
    4. 6.4 On tab "Map" field "HTML Sitemap URL" that link for HTML site map for show to yours users.
    5. 6.5 On tab "Map" field "Use cache for Site Map" select use cache for Site map or not.
    6. 6.6 On tab "Map" in field "Clear cache Site map" if click on button "Clear.." you have clear cache site map. If at now is not have cache you see "Cache is clear".
    7. 6.7 If you have very much long site map and when created translate site map you have error. You can take advantage of step by step add one language on you cache site map on tab "Map" field "Add language to cache". Please click Add. On new page select language and click add language.
  7. 7. For view site map you need add menu on this component(SEF Translate).
  8. 8. For use redirect you need add to you .htaccess after RewriteEngine On
      RewriteRule ^([a-z]{2})/(.*)$ components/com_seftranslate/translate.php?lang=$1&url=$2 [L,QSA]
      RewriteRule ^([a-z]{2})$ components/com_seftranslate/translate.php?lang=$1 [L,QSA]
      RewriteRule ^(pt-PT)/(.*)$ components/com_seftranslate/translate.php?lang=$1&url=$2 [L,QSA]
      RewriteRule ^(pt-PT)$ components/com_seftranslate/translate.php?lang=$1 [L,QSA]
      RewriteRule ^(zh-CN)/(.*)$ components/com_seftranslate/translate.php?lang=$1&url=$2 [L,QSA]
      RewriteRule ^(zh-CN)$ components/com_seftranslate/translate.php?lang=$1 [L,QSA]
      RewriteRule ^(zh-TW)/(.*)$ components/com_seftranslate/translate.php?lang=$1&url=$2 [L,QSA]
      RewriteRule ^(zh-TW)$ components/com_seftranslate/translate.php?lang=$1 [L,QSA]

For start use SEF Translate Free you need:

  1. 1. Install SEF Translate component.
  2. 2. Install SEF Translate module.
  3. 3. Goto setting SEF Translate module.
    1. 3.1 Set method translate for you site, when user click to flag or check language on select on you site.
      If select Jquery then when user select translate you site automatic translate with out redirect.
      If select Redirect then start redirect and open you page on select language.(This option use google translate bar and not work in localhost)
    2. 3.2 Select language flags which to need for view on frontend.
    3. 3.3 Select language which to need view on frontend in drop-down menu. If you do not select a language, you will not see the drop down menu.
  4. 4. Goto setting SEF Translate component.
    1. 4.1 On tab "General" field "Site Language" select language of you site.
    2. 4.2 On tab "Map" field "Site Map Language" select languege for Site map.
    3. 4.3 On tab "Map" field "Use cache for Site Map" select use cache for Site map.
    4. 4.4 On tab "Map" field "Clear cache Site map" click on button "Clear.." for clear cache for site map. If at now is not have cache you see "Cache is clear".
  5. 5. For view site map you need add menu on this component.