forked from deepwaterdivernw/django-getlocalization
-
Notifications
You must be signed in to change notification settings - Fork 0
Django with Get Localization. Beautiful and simple module to keep your app multilingual.
License
LSDlites/django-getlocalization
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Django boosted with Get Localization makes it easy to develop multilingual websites. === What is Get Localization? === It's easiest to think Get Localization as a version control for translation files. Like Git or SVN, files are always up-to-date in the server. When files are updated to service, translators have an access to browser based easy-to-use editor. They don't have to edit the actual resource files and worry about the syntax but just easily use the editor in their browser. When they've finished the translation, you can just download the finished translation files manually using the browser or automatically using the API. The translators can be professionals or members of your user community, you decide what is best for your product. Using Get Localization for crowdsourced translation is totally free. === Problem it solves? === You know how difficult it's to develop a multilingual web site? It's not just about adding features, you need to make sure that translations are up-to-date when you release. Django-GetLocalization module makes it easy to manage these translations while you develop. Like you commit your source code to SCM/version management system, you should commit your translation files to Get Localization. This allows translators to work simultaneously with developers. === How it works? === You just execute new Django manage.py command called "syncgl", it will automatically search your po files and update them to the service. Also all the translated files are automatically downloaded, placed to correct folders and compiled. When you do the sync, all your translators will get automatic notification of new strings and can start translating straightaway in Get Localization's browser based editor. === How to get started? === Please complete the following simple steps to take the Django-GetLocalization Module into use: 1) Download the zip file and extract the files. 2) Open the extracted folder and run "python setup.py install". 3) Register a new project at http://www.getlocalization.com. 4) Add the following configuration variables to project settings.py file: GL_USERNAME : Get Localization username GL_PASSWORD : Get Localization password GL_PROJECT_URL : Project URL on GetLocalization, the common form is "https://getlocalization.com/XXX/" where XXX is the project name GL_MASTER_CODE (OPTIONAL) : The IANA code for master language, default is "en" * Please note that the project URL must use HTTPS. 5) Add "syncgl" to your installed applications. 6) Run "python manage.py syncgl". This command finds all localization files (.po files) in LC_MESSAGES folders in all project sub-folders and uploads them directly to Get Localization. Then it fetches all translation files from Get Localization and automatically updates the language folders. Finally, the command automatically runs "django-admin.py compilemessages" to generate the message files ready to be used.
About
Django with Get Localization. Beautiful and simple module to keep your app multilingual.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 100.0%