RSS

How-to remove languages on simpleSAMLphp

[simplesamlphp language][1]

By default simpleSAMLphp show all language available on web interface, simple but cluttering the web interface, at least that’s what I think.

Configure simplSAMLphp Language

To show only several language, you can use method below.

    • open `config.php` on `config` folder. If your simplesamlphp apps located on `/var/simplesamlphp` then the config file will be on `/var/simplesamlphp/config/config.php`.
    • find lines below :
  • 
    'language.available'  => array('en', 'no', 'nn', 'se', 'da', 'de', 'sv', 'fi', 'es', 'fr', 'it', 'nl', 'lb', 'cs', 'sl', 'lt', 'hr', 'hu', 'pl', 'pt', 'pt-br', 'tr', 'ja', 'zh', 'zh-tw', 'ru', 'et', 'he', 'id'),
    'language.rtl'                => array('ar','dv','fa','ur','he'),
    
    ```
    
    Lines above is to configure what languages available and what right-to-left(rtl) language available. For example, I only want to display English and Indonesian language, so I edit the `language.available` line to contain only en and id, I also comment the `language.rtl` line so that these languages won't be showed.
    
    
    
    'language.available' => array('en','id'),
    //'language.rtl'                => array('ar','dv','fa','ur','he'),
    
    ```
    
    ## References
    
      * [simpleSAMLphp Website][2]
    
    Hope this help. Cheers
    
     [1]: https://www.howtodojo.com/wp-content/uploads/2012/12/simplesamlphp-s.jpg
     [2]: https://simplesamlphp.org/