Template files and translation filesĭo you remember how a word processor handles a template? Well, something similar happens with PoEdit. PoEdit exists in versions for GNU / Linux, Windows and Mac OS X. The latter are created automatically if we specify it in the PoEdit configuration. po and file.mo, which are compiled files that make their access faster. pot, translation files, ending with the extension. The files that PoEdit handles are template files, ending with the extension.
![poedit add new string poedit add new string](https://images.bonanzastatic.com/afu/images/4327/1d84/b301_10920475413/s-l1600.jpg)
POEDIT ADD NEW STRING HOW TO
Obviously there can (and usually) be more than one file in these directories destined to store the translations into different languages, where each file contains information about what and how to represent the characters of the translation for a given language. so it will be recognized as an immediately functional translation file when placed in the translation files directory. In principle, one may ask, and for that I need a program? Why not directly use text editors such as gedit or the windows notepad? The answer is very simple: PoEdit produces an output of the translated strings in a format prepared to be included directly in the directories of a server that store the pages in html, php code, etc. That is, it will present us with strings of characters in a language and we are the ones who must translate them into the desired language.
![poedit add new string poedit add new string](https://d33wubrfki0l68.cloudfront.net/5b5669a2786120d621525c100940f8def1f9c88c/c4b29/images/poedit-macbook-splash.jpg)
![poedit add new string poedit add new string](https://eventespresso.com/wp-content/uploads/2012/12/poedit.png)
PoEdit does not translate like a program whose purpose is that, but rather helps us in the task of translating a text from one language to another. There are other programs that have the same functionality but I think that PoEdit is the most widely used. Poedit is a translation tool, but be careful, let's not confuse it with a translator.