Added settings for languages for users

Added on-the-fly language use for the agent screen
Standardization of filtering of user/pass variables in agent scripts

git-svn-id: svn://192.168.202.10@2221 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2014-12-17 11:53:24 +00:00
parent aa353fd57b
commit 0dedf84cd9
31 changed files with 1089 additions and 317 deletions
+4 -2
View File
@@ -1,4 +1,4 @@
Notes on the non-English language translations(QXZ process) Started: 2014-11-18 Updated: 2014-12-05
Notes on the non-English language translations(QXZ process) Started: 2014-11-18 Updated: 2014-12-17
Summary:
@@ -7,7 +7,9 @@ In the 2.10 branch, we started converting from a static build process for non-En
As of 2014-12-04, the administrative web interface was completed. To enable languages, you need to go to Admin -> System Settings in the admin.php web interface, then set "Enable Languages" to "1" and submit. Then go to your user modify page and set "Modify Languages" to "1" and submit. Now you will be able to go to Admin -> Languages and you can create new languages, copy existing languages, import languages and export languages.(The import and export processes use the existing <english>|<other-language>|| file format for UTF-8 text that is used for the language translations files currently in the codebase.)
The last two steps are: To create a flexible way of assigning languages to agents and/or user groups, and creating an efficient way of looking up the phrases to match the selected language on the fly as the dynamic agent and admin web pages are loaded by users.
As of 2014-12-17, languages now follow User Group permissions for agents and managers just like other elements within Vicidial, and they can be assigned to users through the User Modify page, and if the agent has been given permission to change their own language, then the Agent Login screen will show a Language pull-down menu that will allow the agent to change their agent screen language upon logging in to the agent screen. Also, you can now quickly disable languages immediately systemwide by using the settings in the System Settings("Enable Languages" and "Language Method"). The Agent interface is now fully on-the-fly language capable. This means that you can create a language, and add phrases to it, and as you make changes to the language phrases, they are available immediately to the agent screen to display.
The last step is: To get on-the-fly translation working for all admin web pages.