svn commit: r1823826 - in /ofbiz/ofbiz-framework/trunk: applications/product/data/ applications/product/minilang/product/catalog/ framework/common/src/main/java/org/apache/ofbiz/common/

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1823826 - in /ofbiz/ofbiz-framework/trunk: applications/product/data/ applications/product/minilang/product/catalog/ framework/common/src/main/java/org/apache/ofbiz/common/

jleroux@apache.org
Author: jleroux
Date: Sun Feb 11 09:46:53 2018
New Revision: 1823826

URL: http://svn.apache.org/viewvc?rev=1823826&view=rev
Log:
Fixed: rename the common-theme component directory
(OFBIZ-10175)

Some of the remnants were still left. I got stuck with
JsLanguageFileMappingCreator, so changed other left outs too.

This also fixes OFBIZ-10113  - Replace Asm select plugin with Select2.

Thanks: Aditya

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/data/CatalogSystemPropertyData.xml
    ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/catalog/CatalogServices.xml
    ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java
    ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java

Modified: ofbiz/ofbiz-framework/trunk/applications/product/data/CatalogSystemPropertyData.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/data/CatalogSystemPropertyData.xml?rev=1823826&r1=1823825&r2=1823826&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/data/CatalogSystemPropertyData.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/data/CatalogSystemPropertyData.xml Sun Feb 11 09:46:53 2018
@@ -22,9 +22,9 @@ under the License.
 # ==== Catalog Application Properties ====
 <!--
 # Image upload path on the server
-catalog.properties setting is: image.server.path=${sys:getProperty('ofbiz.home')}/themes/common/webapp/images/${tenantId}
+catalog.properties setting is: image.server.path=${sys:getProperty('ofbiz.home')}/themes/common-theme/webapp/images/${tenantId}
 -->
-    <SystemProperty systemResourceId="catalog" systemPropertyId="image.server.path" systemPropertyValue="${sys:getProperty('ofbiz.home')}/themes/common/webapp/images/${tenantId}"
+    <SystemProperty systemResourceId="catalog" systemPropertyId="image.server.path" systemPropertyValue="${sys:getProperty('ofbiz.home')}/themes/common-theme/webapp/images/${tenantId}"
     description="Image upload path on the server."
     />
     
@@ -78,9 +78,9 @@ catalog.properties setting is: reactivat
     
 <!--
 # Image upload path on the image management
-catalog.properties setting is: image.management.path=${sys:getProperty('ofbiz.home')}/themes/common/webapp/images/products/management
+catalog.properties setting is: image.management.path=${sys:getProperty('ofbiz.home')}/themes/common-theme/webapp/images/products/management
 -->
-    <SystemProperty systemResourceId="catalog" systemPropertyId="image.management.path" systemPropertyValue="${sys:getProperty('ofbiz.home')}/themes/common/webapp/images/products/management"
+    <SystemProperty systemResourceId="catalog" systemPropertyId="image.management.path" systemPropertyValue="${sys:getProperty('ofbiz.home')}/themes/common-theme/webapp/images/products/management"
     description="Image upload path for image management."
     />
     

Modified: ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/catalog/CatalogServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/catalog/CatalogServices.xml?rev=1823826&r1=1823825&r2=1823826&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/catalog/CatalogServices.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/minilang/product/catalog/CatalogServices.xml Sun Feb 11 09:46:53 2018
@@ -412,7 +412,7 @@ under the License.
                 </call-class-method>
             </then>
             <else>
-                <set field="imageUrl" value="/themes/common/webapp${parameters.imageUrl}"/>
+                <set field="imageUrl" value="/themes/common-theme/webapp${parameters.imageUrl}"/>
                 <call-class-method method-name="fromOfbizHomePath" class-name="org.apache.ofbiz.base.util.UtilURL" ret-field="url">
                    <string value="${imageUrl}"/>
                 </call-class-method>

Modified: ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java?rev=1823826&r1=1823825&r2=1823826&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFileMappingCreator.java Sun Feb 11 09:46:53 2018
@@ -206,7 +206,7 @@ public class JsLanguageFileMappingCreato
         }
 
         // check the template file
-        String template = "themes/common/template/JsLanguageFilesMapping.ftl";
+        String template = "themes/common-theme/template/JsLanguageFilesMapping.ftl";
         String output = "framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java";
         Map<String, Object> mapWrapper = new HashMap<>();
         mapWrapper.put("datejs", dateJsLocaleFile);

Modified: ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java?rev=1823826&r1=1823825&r2=1823826&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/common/src/main/java/org/apache/ofbiz/common/JsLanguageFilesMapping.java Sun Feb 11 09:46:53 2018
@@ -733,165 +733,165 @@ public final class JsLanguageFilesMappin
         private static String defaultSelect2 = "/common/js/jquery/plugins/select2/js/i18n/en.js";
 
         static {
-            localeFiles.put("sq", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sq_AL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_DZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_BH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_EG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_IQ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_JO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_KW", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_LB", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_LY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_MA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_OM", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_QA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_SA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_SD", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_SY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_TN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_AE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ar_YE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("be", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("be_BY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("bg", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("bg_BG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ca", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ca_ES", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("zh", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("zh_CN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("zh_HK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("zh_SG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("zh_TW", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hr_HR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("cs", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("cs_CZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("da", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("da_DK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("nl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("nl_BE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("nl_NL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_AU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_CA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_IN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_IE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_MT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_NZ", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_PH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_SG", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_ZA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_GB", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("en_US", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("et", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("et_EE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fi_FI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr_BE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr_CA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr_FR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr_LU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("fr_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de_AT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de_DE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de_GR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de_LU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("de_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("el", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("el_CY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("el_GR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("iw", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("iw_IL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hi_IN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hu", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("hu_HU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("is", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("is_IS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("in", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("in_ID", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ga", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ga_IE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("it", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("it_IT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("it_CH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ja", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ja_JP", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ja_JP_JP_#u-ca-japanese", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ko", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ko_KR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("lv", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("lv_LV", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("lt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("lt_LT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("mk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("mk_MK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ms", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ms_MY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("mt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("mt_MT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("no", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("no_NO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("no_NO_NY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("pl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("pl_PL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("pt", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("pt_BR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("pt_PT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ro", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ro_RO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ru", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("ru_RU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_BA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr__#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_BA_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_ME_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_RS_#Latn", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_ME", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_CS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sr_RS", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sk_SK", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sl", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sl_SI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_AR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_BO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_CL", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_CO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_CR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_CU", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_DO", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_EC", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_SV", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_GT", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_HN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_MX", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_NI", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_PA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_PY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_PE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_PR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_ES", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_US", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_UY", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("es_VE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sv", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("sv_SE", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("th", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("th_TH", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("th_TH_TH_#u-nu-thai", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("tr", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("tr_TR", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("uk", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("uk_UA", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("vi", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
-            localeFiles.put("vi_VN", "/common/js/jquery/plugins/select2-4.0.6-rc.1/js/i18n/en.js");
+            localeFiles.put("sq", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("sq_AL", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("ar", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_DZ", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_BH", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_EG", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_IQ", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_JO", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_KW", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_LB", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_LY", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_MA", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_OM", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_QA", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_SA", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_SD", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_SY", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_TN", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_AE", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("ar_YE", "/common/js/jquery/plugins/select2/js/i18n/ar.js");
+            localeFiles.put("be", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("be_BY", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("bg", "/common/js/jquery/plugins/select2/js/i18n/bg.js");
+            localeFiles.put("bg_BG", "/common/js/jquery/plugins/select2/js/i18n/bg.js");
+            localeFiles.put("ca", "/common/js/jquery/plugins/select2/js/i18n/ca.js");
+            localeFiles.put("ca_ES", "/common/js/jquery/plugins/select2/js/i18n/ca.js");
+            localeFiles.put("zh", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("zh_CN", "/common/js/jquery/plugins/select2/js/i18n/zh-CN.js");
+            localeFiles.put("zh_HK", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("zh_SG", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("zh_TW", "/common/js/jquery/plugins/select2/js/i18n/zh-TW.js");
+            localeFiles.put("hr", "/common/js/jquery/plugins/select2/js/i18n/hr.js");
+            localeFiles.put("hr_HR", "/common/js/jquery/plugins/select2/js/i18n/hr.js");
+            localeFiles.put("cs", "/common/js/jquery/plugins/select2/js/i18n/cs.js");
+            localeFiles.put("cs_CZ", "/common/js/jquery/plugins/select2/js/i18n/cs.js");
+            localeFiles.put("da", "/common/js/jquery/plugins/select2/js/i18n/da.js");
+            localeFiles.put("da_DK", "/common/js/jquery/plugins/select2/js/i18n/da.js");
+            localeFiles.put("nl", "/common/js/jquery/plugins/select2/js/i18n/nl.js");
+            localeFiles.put("nl_BE", "/common/js/jquery/plugins/select2/js/i18n/nl.js");
+            localeFiles.put("nl_NL", "/common/js/jquery/plugins/select2/js/i18n/nl.js");
+            localeFiles.put("en", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_AU", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_CA", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_IN", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_IE", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_MT", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_NZ", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_PH", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_SG", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_ZA", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_GB", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("en_US", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("et", "/common/js/jquery/plugins/select2/js/i18n/et.js");
+            localeFiles.put("et_EE", "/common/js/jquery/plugins/select2/js/i18n/et.js");
+            localeFiles.put("fi", "/common/js/jquery/plugins/select2/js/i18n/fi.js");
+            localeFiles.put("fi_FI", "/common/js/jquery/plugins/select2/js/i18n/fi.js");
+            localeFiles.put("fr", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("fr_BE", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("fr_CA", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("fr_FR", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("fr_LU", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("fr_CH", "/common/js/jquery/plugins/select2/js/i18n/fr.js");
+            localeFiles.put("de", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("de_AT", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("de_DE", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("de_GR", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("de_LU", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("de_CH", "/common/js/jquery/plugins/select2/js/i18n/de.js");
+            localeFiles.put("el", "/common/js/jquery/plugins/select2/js/i18n/el.js");
+            localeFiles.put("el_CY", "/common/js/jquery/plugins/select2/js/i18n/el.js");
+            localeFiles.put("el_GR", "/common/js/jquery/plugins/select2/js/i18n/el.js");
+            localeFiles.put("iw", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("iw_IL", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("hi", "/common/js/jquery/plugins/select2/js/i18n/hi.js");
+            localeFiles.put("hi_IN", "/common/js/jquery/plugins/select2/js/i18n/hi.js");
+            localeFiles.put("hu", "/common/js/jquery/plugins/select2/js/i18n/hu.js");
+            localeFiles.put("hu_HU", "/common/js/jquery/plugins/select2/js/i18n/hu.js");
+            localeFiles.put("is", "/common/js/jquery/plugins/select2/js/i18n/is.js");
+            localeFiles.put("is_IS", "/common/js/jquery/plugins/select2/js/i18n/is.js");
+            localeFiles.put("in", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("in_ID", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("ga", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("ga_IE", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("it", "/common/js/jquery/plugins/select2/js/i18n/it.js");
+            localeFiles.put("it_IT", "/common/js/jquery/plugins/select2/js/i18n/it.js");
+            localeFiles.put("it_CH", "/common/js/jquery/plugins/select2/js/i18n/it.js");
+            localeFiles.put("ja", "/common/js/jquery/plugins/select2/js/i18n/ja.js");
+            localeFiles.put("ja_JP", "/common/js/jquery/plugins/select2/js/i18n/ja.js");
+            localeFiles.put("ja_JP_JP_#u-ca-japanese", "/common/js/jquery/plugins/select2/js/i18n/ja.js");
+            localeFiles.put("ko", "/common/js/jquery/plugins/select2/js/i18n/ko.js");
+            localeFiles.put("ko_KR", "/common/js/jquery/plugins/select2/js/i18n/ko.js");
+            localeFiles.put("lv", "/common/js/jquery/plugins/select2/js/i18n/lv.js");
+            localeFiles.put("lv_LV", "/common/js/jquery/plugins/select2/js/i18n/lv.js");
+            localeFiles.put("lt", "/common/js/jquery/plugins/select2/js/i18n/lt.js");
+            localeFiles.put("lt_LT", "/common/js/jquery/plugins/select2/js/i18n/lt.js");
+            localeFiles.put("mk", "/common/js/jquery/plugins/select2/js/i18n/mk.js");
+            localeFiles.put("mk_MK", "/common/js/jquery/plugins/select2/js/i18n/mk.js");
+            localeFiles.put("ms", "/common/js/jquery/plugins/select2/js/i18n/ms.js");
+            localeFiles.put("ms_MY", "/common/js/jquery/plugins/select2/js/i18n/ms.js");
+            localeFiles.put("mt", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("mt_MT", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("no", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("no_NO", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("no_NO_NY", "/common/js/jquery/plugins/select2/js/i18n/en.js");
+            localeFiles.put("pl", "/common/js/jquery/plugins/select2/js/i18n/pl.js");
+            localeFiles.put("pl_PL", "/common/js/jquery/plugins/select2/js/i18n/pl.js");
+            localeFiles.put("pt", "/common/js/jquery/plugins/select2/js/i18n/pt.js");
+            localeFiles.put("pt_BR", "/common/js/jquery/plugins/select2/js/i18n/pt.js");
+            localeFiles.put("pt_PT", "/common/js/jquery/plugins/select2/js/i18n/pt.js");
+            localeFiles.put("ro", "/common/js/jquery/plugins/select2/js/i18n/ro.js");
+            localeFiles.put("ro_RO", "/common/js/jquery/plugins/select2/js/i18n/ro.js");
+            localeFiles.put("ru", "/common/js/jquery/plugins/select2/js/i18n/ru.js");
+            localeFiles.put("ru_RU", "/common/js/jquery/plugins/select2/js/i18n/ru.js");
+            localeFiles.put("sr", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_BA", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr__#Latn", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_BA_#Latn", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_ME_#Latn", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_RS_#Latn", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_ME", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_CS", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sr_RS", "/common/js/jquery/plugins/select2/js/i18n/sr.js");
+            localeFiles.put("sk", "/common/js/jquery/plugins/select2/js/i18n/sk.js");
+            localeFiles.put("sk_SK", "/common/js/jquery/plugins/select2/js/i18n/sk.js");
+            localeFiles.put("sl", "/common/js/jquery/plugins/select2/js/i18n/sl.js");
+            localeFiles.put("sl_SI", "/common/js/jquery/plugins/select2/js/i18n/sl.js");
+            localeFiles.put("es", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_AR", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_BO", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_CL", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_CO", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_CR", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_CU", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_DO", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_EC", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_SV", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_GT", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_HN", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_MX", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_NI", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_PA", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_PY", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_PE", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_PR", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_ES", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_US", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_UY", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("es_VE", "/common/js/jquery/plugins/select2/js/i18n/es.js");
+            localeFiles.put("sv", "/common/js/jquery/plugins/select2/js/i18n/sv.js");
+            localeFiles.put("sv_SE", "/common/js/jquery/plugins/select2/js/i18n/sv.js");
+            localeFiles.put("th", "/common/js/jquery/plugins/select2/js/i18n/th.js");
+            localeFiles.put("th_TH", "/common/js/jquery/plugins/select2/js/i18n/th.js");
+            localeFiles.put("th_TH_TH_#u-nu-thai", "/common/js/jquery/plugins/select2/js/i18n/th.js");
+            localeFiles.put("tr", "/common/js/jquery/plugins/select2/js/i18n/tr.js");
+            localeFiles.put("tr_TR", "/common/js/jquery/plugins/select2/js/i18n/tr.js");
+            localeFiles.put("uk", "/common/js/jquery/plugins/select2/js/i18n/uk.js");
+            localeFiles.put("uk_UA", "/common/js/jquery/plugins/select2/js/i18n/uk.js");
+            localeFiles.put("vi", "/common/js/jquery/plugins/select2/js/i18n/vi.js");
+            localeFiles.put("vi_VN", "/common/js/jquery/plugins/select2/js/i18n/vi.js");
         }
 
         public static String getFilePath(String locale) {