View | Details | Raw Unified | Return to issue 44528
Collapse All | Expand All

(-)osxlocale.c (+8 lines)
Lines 102-107 Link Here
102
						strlcpy( locale, "en_US", bufferLen );
102
						strlcpy( locale, "en_US", bufferLen );
103
//					else if ( strchr(locale, '.') == NULL )
103
//					else if ( strchr(locale, '.') == NULL )
104
//						strlcat( locale, ".UTF-8", bufferLen );
104
//						strlcat( locale, ".UTF-8", bufferLen );
105
					if ( strcmp(locale, "ja") == 0 )
106
						strlcpy( locale, "ja_JP", bufferLen );
107
					if ( strcmp(locale, "fr") == 0 )
108
						strlcpy( locale, "fr_FR", bufferLen );
109
					if ( strcmp(locale, "de") == 0 )
110
						strlcpy( locale, "de_DE", bufferLen );
111
					if ( strchr(locale, '.') == NULL )
112
						strlcat( locale, ".UTF-8", bufferLen );
105
				}
113
				}
106
				else
114
				else
107
					fprintf( stderr, "Could not get Canonical Locale Identifier from AppleLanguages value!\n" );
115
					fprintf( stderr, "Could not get Canonical Locale Identifier from AppleLanguages value!\n" );

Return to issue 44528