LOGATY Settings & Options

Primary Options

It contains options, other settings

Options

  • defualt_lang

    the default (primary) language of your website - default en

  • detect_browser_lang

    this option if you want to detect user browser language ! - defualt false

  • detect_browser_lang

    this option if you want to detect user Country language ! - defualt false true to detect language false to not, this option not working in localhost because ist using ip address

  • hide_untranslated

    this option if you want to hide untranslated content || for example: if you want to hide english content for visitor use another english language , I mean you have an article not translated to arabic then any one brows your site in arabic language cant see this article (Work with database content Only) - defualt on , if you set this option off the content well be shown with notic

  • hide_default_language

    yes if you want to hide language information from url for defualt language in ex : if yes and the defualt language is arabic when visitor browse your site in arabic the url must be like this (www.my-site.come) but if visitor browse your site in other language the url must be like this (www.my-site.come?lang=en) - defualt true


Other Settings

  • enabled_languages

    the enabeld languages list , you can set your initial value when first website work, in admin panel you can add-remove-edit

  • supported_languages

    list of supported language on your website.!

  • languages_name

    the Languages Name in English

  • name_mother_tongue

    the Languages Name in Tongue

  • langLocal

    list of ISO-3 code of language (require this list same name of json file name to language)

  • not_available

    the Messages to Shown to user if content is not avaliable in his language

  • flag

    the Language flag(image) name

  • lang_dir

    the Direction of language right to left or left to right (rtl,ltr)

this options can't changed from admin panel.

Paths

  • lang_files

    the Languages Folder Name ended with slash

  • flags

    the Flags folder Name ended with slash