diff --git a/src/Viewer/splash.cxx b/src/Viewer/splash.cxx index 8f3271e1a..eeb69269e 100644 --- a/src/Viewer/splash.cxx +++ b/src/Viewer/splash.cxx @@ -706,9 +706,9 @@ void fgSplashProgress( const char *identifier, unsigned int percent ) // over-write the spinner if (!strncmp(identifier, "navdata-", 8)) { - std::ostringstream oss; - oss << percent << "% complete"; - fgSetString("/sim/startup/splash-progress-spinner", oss.str()); + const string percentText = globals->get_locale()->getLocalizedString("navdata-load-percent", "sys"); + auto finalText = simgear::strutils::replace(percentText, "[VALUE]", to_string(percent)); + fgSetString("/sim/startup/splash-progress-spinner", finalText); } if( fgGetString("/sim/startup/splash-progress-text") == text )