francisguchie commented on pull request #1984:
URL: https://github.com/apache/fineract/pull/1984#issuecomment-1075562846


   > Hi @rrpawar96 , yeah, I can see why. You're going to read the properties 
file for each SQL query, that's definitely not the way. What we should do 
instead:
   > 
   > * Upon application startup, load the properties file and keep the mapping 
in memory
   > * Upon the need to translate country codes to country names, use the 
mapping in the memory to resolve the country name
   > 
   > Also, please make sure we're following the ResourceBundle naming 
convention, i.e. let's call the file `countries_en.properties` instead of 
`countries.properties`.
   > 
   > Note: for the country translation, you could introduce a brand new service 
class to deal with the preloading and doing the actual translation.
   
   
   @galovics  
   As a lay man, who might be using apache-fineract in a place with little to 
no internet, will this kind of complex update be able to work without internet?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to