Install Translations

From OpenEMR Project Wiki


Overview

These are instructions to upgrade to the most recent language translation tables published for OpenEMR. This is very simple to do.

Note that this will delete all of your current local OpenEMR language translation tables if you are using a OpenEMR version less than 4.0. (Since version 4.0, there is a lang_custom sql table that holds your local customizations, and is described at the end of the tutorial)

Development Translation Releases

  • Daily Development Release: This is automatically built daily (17:00 Pacific Standard Time) from the google docs translation spreadsheet; note it could be buggy.


Official Translation Releases

Installation instructions

1. Download the translation (choose a link above) release to desktop (via 'File'->'Save Page as'):


2. Login to OpenEMR:

Login. (screenshot below)

Translations-Install-1.jpg


Click 'Administration'->'Other'->'Database' from left tree menu. (screenshot below)

Translations-Install-2.jpg


Click 'openemr' database link near top left (highlighted by arrow). (screenshot below)

Translations-Install-3.jpg


Click 'Import' near top right (highlighted by arrow). (screenshot below)

Translations-Install-4.jpg


Click 'Browse' (highlighted by arrow). (screenshot below)

Translations-Install-5.jpg


Select the 'currentLanguage_utf8.sql' (or languageTranslations_utf8.sql) file that you downloaded in above first step, and click 'Open'. (screenshot below)

Translations-Install-6.jpg


Click 'Go' at bottom right (highlighted by arrow). After click, the import can take up to a minute or so. (screenshot below)

Translations-Install-7.jpg


After import is done, you should see the yellow banner stating the import has been successfully finished. (screenshot below)

Translations-Install-8.jpg


The last thing to do is to synchronize your custom translations. (Note that all translations and constants that you have added vie the Administration->Language editor are saved in a sql table entitled lang_custom; this allows you to then add these back after importing a standard set of tables above). To do this, got to Administration->Other->Language, click 'Manage Translations' at the top, and then click the 'Synchronize' button.