Page 1 of 1

Activation of greek localization language

Posted: Sat Oct 19, 2019 2:21 pm
by asimkon
I have prepared an XML localisation file for greek language. Additionally, I have followed the steps below in order to activate it

1. Add to The file symfony/apps/orangehrm/i18n

2. After the language pack is been added, login to the OrangeHRM system and follow below steps to enable.

3. Admin module -> Configuration -> Localization -> Change the preferred language.


but i don't find the added language file in the localization drop down list to select and enable it. Any kind of help of what should i do to add it to the drop down list and enable it step by step from renaming to other etc. That would help me a lot!

Regards

Re: Activation of greek localization language

Posted: Wed Feb 19, 2020 11:33 am
by brante
I have the same error with a Portuguese Pack

You solve this?

Re: Activation of greek localization language

Posted: Wed Feb 19, 2020 4:21 pm
by rajitha
Thank you for being with OrangeHRM. Please follow below steps to create your own language pack.
1. Create a language file in symfony/apps/orangehrm/i18n/
2. Name it as messages.<your_language>.xml
e.g. messages.en_US.xml
3. Goto the symfony/plugins/orangehrmAdminPlugin/config/supported_languages.yml config file.
4. Add new key value pair for your language.
e.g.

Code: Select all

languages:
    .....
    9: {key: '<your_language>', value: 'Greek - Ελληνικά'}
5. Clean symfony cache. Within the symfony directory you need to run $ php symfony cc command.
6. Make sure to make a pull request to https://github.com/orangehrm/orangehrm or contribute here. :)

Thank you.

Re: Activation of greek localization language

Posted: Wed Feb 19, 2020 5:21 pm
by brante
Thanks for the help

Work very good