We support more that 4 countries of a same set of code base with some specific changes for each country. we are using CVS , we have HEAD and branches for each countries. once we fix something in any branch, eventually we merge it into HEAD.
We just want to get out of this model where we can avoid merging issues.
Is there any strategy or process or other ways to avoid merging, but maintain one code base for all countries.? ( we try to achieve this : Check out from HEAD and deploy it in some country , and the application should work for the country with out any code changes)
One complicated way is to have checks in the code where the country is "XY" then do this.
But is there any other way apart from this code change, if you can think of?
Use an XML dictionary or resourceBundles to abstract the localized data: