Home | History | Annotate | Download | only in genrb

Lines Matching refs:language

170 /* Parse the filename, and get its language information.
171 * If it fails to get the language information from the filename,
172 * use "en" as the default value for language
219 void res_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status);
604 string_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
641 alias_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
672 array_write_xml(struct SResource *res, const char* id, const char* language, UErrorCode *status) {
692 res_write_xml(current, subId, language, FALSE, status);
711 intvector_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
760 int_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
788 bin_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
908 table_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status) {
930 res_write_xml(current, sid, language, FALSE, status);
950 res_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status) {
959 string_write_xml (res, id, language, status);
963 alias_write_xml (res, id, language, status);
967 intvector_write_xml (res, id, language, status);
971 bin_write_xml (res, id, language, status);
975 int_write_xml (res, id, language, status);
979 array_write_xml (res, id, language, status);
983 table_write_xml (res, id, language, isTopLevel, status);
997 const char* language, const char* outFileName, UErrorCode *status) {
1002 const char* fileStart = "<file xml:space = \"preserve\" source-language = \"";
1051 if (language == NULL) {
1065 * txt file contain a valid country and language codes
1074 fprintf(stderr, "Error: The file name and table name do not contain a valid language code. Please use -l option to specify it.\n");
1079 lang = (char *)uprv_malloc(sizeof(char)*uprv_strlen(language) +1);
1080 uprv_memset(lang, 0, sizeof(char)*uprv_strlen(language) +1);
1081 uprv_strcpy(lang, language);
1138 /* check if lang and language are the same */
1139 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){
1140 fprintf(stderr,"Warning: The top level tag in the resource and language specified are not the same. Please check the input.\n");