Internationalization and localization tools


Locale-Sensitive JavaScript NodeJS Method

os.userInfo([options]);

Internationalization (I18n) Method Overview

The method os.userInfo returns information about the currently effective user. This information includes username, uid, gid, shell, and homedir information on POSIX, or username and homedir information on windows.

Click here for additional details.

I18n Issues

The method takes an optional encoding (default is utf8) used to interpret the resulting strings. This encoding should be double-checked for correctness.

Suggested Replacement

Double check to confirm that the appropriate encoding is used. If necessary, refactor the application to use an appropriate encoding.

Globalyzer will detect this method and report it as an i18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan.



Locale-Sensitive JavaScript Methods

 

Lingoport internationalization and localization services and software