ivan-parnarev / E-Government

E-Government: E-Census and E-Voting
2 stars 0 forks source link

[fix/BE-005.6] Region dynamic translation with only Region Files changes (1) #128

Closed yanamet closed 8 months ago

yanamet commented 8 months ago
  1. The translation is currently implemented with Switch-case having in mind that we have only 29 values that we would translate and we are sure that the translated value is not going to change but I had also considered using Map with key the region name in english and value the translated bulgarian name.

  2. Changed files - Region, RegionsCatalog, RegionService, RegionFactory, RegionFactoryInterface