• Resolved mapsmarketing

    (@mapsmarketing)


    Missing Language: Dari (fa-AF)

    Google Translate does contain the language as seen here: https://translate.google.com.au/?sl=en&tl=fa-AF&text=test&op=translate

    I’ve modified the following files to include the language:
    – gtranslate/gtranslate.php
    – gtranslate/url_addon/gtranslate.php
    – gtranslate/js/popup.js

    I also had to modify your GTranslate to include fa-AF in language_codes and language_codes2 in under wp_options to the following:

    a:39:{s:11:"pro_version";s:0:"";s:18:"enterprise_version";s:0:"";s:16:"wrapper_selector";s:19:".gtranslate_wrapper";s:14:"custom_domains";s:0:"";s:19:"custom_domains_data";s:0:"";s:15:"url_translation";s:0:"";s:17:"add_hreflang_tags";s:0:"";s:17:"email_translation";s:0:"";s:23:"email_translation_debug";s:0:"";s:12:"show_in_menu";s:0:"";s:26:"floating_language_selector";s:12:"bottom_right";s:21:"native_language_names";s:0:"";s:10:"enable_cdn";s:0:"";s:23:"detect_browser_language";s:0:"";s:12:"add_new_line";i:1;s:21:"select_language_label";s:15:"Select Language";s:10:"custom_css";s:0:"";s:16:"default_language";s:2:"en";s:11:"widget_look";s:5:"popup";s:9:"flag_size";i:24;s:10:"flag_style";s:2:"2d";s:10:"globe_size";i:60;s:11:"globe_color";s:7:"#66aaff";s:10:"incl_langs";a:10:{i:0;s:2:"ar";i:1;s:5:"zh-CN";i:2;s:2:"nl";i:3;s:2:"en";i:4;s:2:"fr";i:5;s:2:"de";i:6;s:2:"it";i:7;s:2:"pt";i:8;s:2:"ru";i:9;s:2:"es";}s:11:"fincl_langs";a:9:{i:0;s:2:"ar";i:1;s:2:"en";i:2;s:2:"hi";i:3;s:2:"km";i:4;s:2:"ps";i:5;s:2:"sm";i:6;s:2:"sr";i:7;s:2:"vi";i:8;s:5:"fa-AF";}s:9:"alt_flags";a:0:{}s:19:"switcher_text_color";s:4:"#666";s:20:"switcher_arrow_color";s:4:"#666";s:21:"switcher_border_color";s:4:"#ccc";s:25:"switcher_background_color";s:4:"#fff";s:32:"switcher_background_shadow_color";s:7:"#efefef";s:31:"switcher_background_hover_color";s:4:"#fff";s:19:"dropdown_text_color";s:4:"#000";s:20:"dropdown_hover_color";s:4:"#fff";s:25:"dropdown_background_color";s:4:"#eee";s:29:"float_switcher_open_direction";s:3:"top";s:23:"switcher_open_direction";s:3:"top";s:14:"language_codes";s:326:"af,sq,am,ar,hy,az,eu,be,bn,bs,bg,ca,ceb,ny,zh-CN,zh-TW,co,hr,cs,da,nl,en,eo,et,tl,fi,fr,fy,gl,ka,de,el,gu,ht,ha,haw,iw,hi,hmn,hu,is,ig,id,ga,it,ja,jw,kn,kk,km,ko,ku,ky,lo,la,lv,lt,lb,mk,mg,ms,ml,mt,mi,mr,mn,my,ne,no,ps,fa,pl,pt,pa,ro,ru,sm,gd,sr,st,sn,sd,si,sk,sl,so,es,su,sw,sv,tg,ta,te,th,tr,uk,ur,uz,vi,cy,xh,yi,yo,zu,fa-AF";s:15:"language_codes2";s:326:"af,sq,am,ar,hy,az,eu,be,bn,bs,bg,ca,ceb,ny,zh-CN,zh-TW,co,hr,cs,da,nl,en,eo,et,tl,fi,fr,fy,gl,ka,de,el,gu,ht,ha,haw,iw,hi,hmn,hu,is,ig,id,ga,it,ja,jw,kn,kk,km,ko,ku,ky,lo,la,lv,lt,lb,mk,mg,ms,ml,mt,mi,mr,mn,my,ne,no,ps,fa,pl,pt,pa,ro,ru,sm,gd,sr,st,sn,sd,si,sk,sl,so,es,su,sw,sv,tg,ta,te,th,tr,uk,ur,uz,vi,cy,xh,yi,yo,zu,fa-AF";}

    Flag used is: https://upload.wikimedia.org/wikipedia/commons/c/cd/Flag_of_Afghanistan_%282013%E2%80%932021%29.svg

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Unfortunately we have no plans supporting more languages.

    Thanks! 🙂

    Thread Starter mapsmarketing

    (@mapsmarketing)

    Hi,

    These languages which you have not included are part of Google Translate seen here: https://translate.google.com.au/?sl=en&tl=fa-AF&op=translate

    Not including all of the languages and calling your plugin GTranslate (Google Translate) is quite misleading.

    No dramas if your plugin is abandonware though.

    In any case, thanks for the reply ✌️

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Missing Language (Dari)’ is closed to new replies.