Translate Themes


We have few themes in our system, which are all not supported with FA level to translate it like modules. We have to add strings to FA core translation files and than we have to use softwares or online Po editors to translate the strings and finally. Compile your MO file and place it on its appropriate location to take effect. We almost used the Default theme strings. Some of them like the theme options and some strings added to customize it. 

The theme translations is a bit time consuming process. let me guide you on steps to make it.  
  1. Open our theme directory and open the files of all which ends with extension .php Make sure you have opened it on a Good program editor such as Notepad++, Sublime, Vscode, Phpstrom, etc. 
  2. Find the strings enclosed with _( and ). Example _("Dashboard"). 
  3. Here copy only the string Dashboard  and now, we have to open your FA language PO file. Example for Arabic. it will be 
    /lang/ar_EG/LC_MESSAGES/ar_EG.po or sometimes it comes along with FA db version with the file name, so open the file name carefully. 
  4. Goto the bottom of the file and add this string Dashboard to the file like the below one. 

    msgid "Dashboard"
    msgstr ""​
  5. And save it. Like that find all Translatable strings from our theme and add it to this file. I mean Repeat the step 2 and 4 till you get all translatable strings. 
  6. After that save that po file and than open the file on Poedit software or any other popular po editors. And translate the strings from there. 
  7. Finally, you can compile the MO file with it. and get the Mo file and copy it to /lang/ar_EG/LC_MESSAES/ . Once you copy here. And you can change the language from your Preferences page from your FA to check this. 

Note :  We are not actively Providing all the strings Translatable.  Suppose if you wish to translate strings. You can change them on your own risk. By making the string enclosed with _( and ). And it will help you to make it workable there. Eg. 
if we have name like this in our system "Theme options". and which is not available for translation.  You have to make this with _("Theme options") and than you can apply this string on Translations and get it worked. 

Did you find this article useful?



  • Installation

    It's easy to install, there are three changes you need to change it for the login page to take effect. From that onwards the FA will be turned in...

  • Saai

    Introduction A simple elegant theme for the FrontAccounting(FA) users who admire to use the Simple Themes. Saai – A Premium Responsive FrontAcc...

  • LTE

    Introduction LTE Theme For FrontAccounting helps to change the look and feel of FA to different version. And also you can use different color schemes...

  • Vanigam

      Introduction A Lite weight theme for FrontAccounting ERP and its my another UI for the FrontAccounting users. Its named as Vanigam Front...

  • Smart Finance

    Introduction A Simple And Neat FrontAccounting  Theme with my own Test and spicy code in it. Smartfinance FrontAccounting Theme Very less a...