Skip to content

Localization Guidelines

Nathan Broadbent edited this page Dec 17, 2011 · 8 revisions

  • Start by copying US/English locale file, for example:

    $ cp config/locale/en-US_fat_free_crm.yml config/locale/fi_fat_free_crm.yml

  • Change first two lines in your new _fat_free_crm.yml file to specify your locale and language names, then proceed with translating individual messages.


  • To test your translation change Language option on User's Profile page. Fat Free CRM should reload the page with currently selected language. To change default language setting edit config/settings.yml file, and reload the settings by running:

    $ rake crm:settings:load

  • To commit your changes and push them to Github do the following:

$ git status $ git diff $ git add . $ git commit -a -m "Translated to " $ git push

  • Send pull request to merge your translation into the master branch.