HMS-Analytical-Software / SASUnit

SASUnit is a unit testing framework for SAS(TM)-programs. It can be used for the development, execution and automatic documentation of tests for SAS programs.
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Rework national language support #15

Open SamuelMelm opened 1 year ago

SamuelMelm commented 1 year ago

NLS should work by SAS formats: English texts are written directly into the programs, a macro looks up the foreign language translation and returns the translated text, if any is being found.


Originally created on SourceForge by amangold - 26.03.2013, 15:26

SamuelMelm commented 1 year ago

Quote: "English texts are written directly into the programs"

Wouldnt it be better to use language-independent messageIDs in the programs, in combination with the SAS formats? Or did I get something wrong?

Our colleague AB has developed a messaging framework in this manner, which could be integrated for this purpose.


Originally created on SourceForge by j-lang - 28.03.2013, 08:42

SamuelMelm commented 1 year ago

This approach is most easy to implement and use. A translator function (macro) gets the English text and searches for a translation, if necessary. If none is found, the english text is being returned. The English text is being used as an id. It is not necessary to invent and lookup ids. The programs with their full text messages easy to read.


Originally created on SourceForge by amangold - 28.03.2013, 08:50

SamuelMelm commented 1 year ago

This request is moved to a later release.

It needs to be checked if there is currently an English word, that has to different transalations. If this is the case we need to invent abbreviations.


Originally created on SourceForge by klandwich - 23.04.2013, 07:11

SamuelMelm commented 1 year ago

Originally created on SourceForge by klandwich - 23.04.2013, 07:12

SamuelMelm commented 1 year ago

Originally created on SourceForge by klandwich - 25.01.2022, 09:25