import "CLDR-Data" and Vue-scheduler as static library

Hello, 
We have been using Internationalization in the vue-scheduler, we have been using npm to install the cldr-data dependency (npm install cldr-data --save) to translate languages(see link below). We noticed it takes 270 Megabytes which is large. 
1) Is there a way we can use an static library instead of (npm install cldr-data --save)?  So we can import this externally. 
2) same question above but for any Syncfusion component and without CDN. We want to keep the control of the versions statically in our server. 


https://ej2.syncfusion.com/vue/documentation/schedule/localization/

Thanks 
Tonathiu.

3 Replies 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team June 3, 2020 05:58 PM UTC

Hi Tonathiu, 
 
Greetings from Syncfusion Support. 
 
Query 1: Is there a way we can use an static library instead of (npm install cldr-data --save)?  So we can import this externally. 
 
We have validated your reported scenario at our side and let you know that, there is no way to use an library file instead of (npm install cldr-data --save). But we can include and use the required library files inside the project like the below code snippet 
 
import * as numberingSystems from './localization/supplemental/numberingSystems.json'; 
import * as gregorian from './localization/main/ta/ca-gregorian.json'; 
import * as numbers from './localization/main/ta/numbers.json'; 
import * as timeZoneNames from './localization/main/ta/timeZoneNames.json'; 
 
Query 2: same question above but for any Syncfusion component and without CDN. We want to keep the control of the versions statically in our server. 
 
We can maintain the components version statically through the package.json like the below code snippet.  
 
"dependencies": { 
  "@syncfusion/ej2-vue-buttons""*", 
  "@syncfusion/ej2-vue-calendars""*", 
  "@syncfusion/ej2-vue-dropdowns""*", 
  "@syncfusion/ej2-vue-navigations""*", 
  "@syncfusion/ej2-vue-schedule""*" 
}, 
 
 
Kindy try the above sample and let us know if you need further assistance. 
 
Regards, 
Balasubramanian S 


Marked as answer

TO Tonathiu June 4, 2020 08:24 AM UTC

I thought so. Thanks anyway for the confirmation
Best
Tonathiu 


VM Vengatesh Maniraj Syncfusion Team June 5, 2020 05:27 AM UTC

Hi Tonathiu, 

You are most welcome. 

Please get in touch with us if you need any further assistance. 

Regards, 
Vengatesh 


Loader.
Up arrow icon