Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the modern approach?

approach Modern
0
10 Posted

What is the modern approach?

0

The general technique used now is to internationalize the programs. This means to prepare them so that the code never needs modification–separate files contain the translatable information. This involves a number of modifications to the code: • move all translatable strings into separate files called resource files, and make the code access those strings when needed. These resource files can be flat text files, databases, or even code resources, but they are completely separate from the main code, and contain nothing but the translatable data. • change variable formatting to be language-independent. This means that dates, times, numbers, currencies, and messages all call functions to format according to local language and country requirements. • change sorting, searching and other types of processing to be language-independent. Once this process is concluded, you have an internationalized program. To localize that program then involves no changes to the source code. Instead, just the

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.