How-to remove languages on simpleSAMLphp

simplesamlphp language

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

Hope this help. Cheers

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.