Home | History | Annotate | Download | only in genrb

Lines Matching refs:language

184 /* Parse the filename, and get its language information.
185 * If it fails to get the language information from the filename,
186 * use "en" as the default value for language
233 void res_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status);
618 string_write_xml(StringResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
655 alias_write_xml(AliasResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
686 array_write_xml(ArrayResource *res, const char* id, const char* language, UErrorCode *status) {
704 res_write_xml(current, subId, language, FALSE, status);
723 intvector_write_xml(IntVectorResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
772 int_write_xml(IntResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
800 bin_write_xml(BinaryResource *res, const char* id, const char* /*language*/, UErrorCode *status) {
920 table_write_xml(TableResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status) {
941 res_write_xml(current, sid, language, FALSE, status);
961 res_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status) {
970 string_write_xml (static_cast<StringResource *>(res), id, language, status);
974 alias_write_xml (static_cast<AliasResource *>(res), id, language, status);
978 intvector_write_xml (static_cast<IntVectorResource *>(res), id, language, status);
982 bin_write_xml (static_cast<BinaryResource *>(res), id, language, status);
986 int_write_xml (static_cast<IntResource *>(res), id, language, status);
990 array_write_xml (static_cast<ArrayResource *>(res), id, language, status);
994 table_write_xml (static_cast<TableResource *>(res), id, language, isTopLevel, status);
1008 const char* language, const char* outFileName, UErrorCode *status) {
1013 const char* fileStart = "<file xml:space = \"preserve\" source-language = \"";
1062 if (language == NULL) {
1076 * txt file contain a valid country and language codes
1085 fprintf(stderr, "Error: The file name and table name do not contain a valid language code. Please use -l option to specify it.\n");
1090 lang = (char *)uprv_malloc(sizeof(char)*uprv_strlen(language) +1);
1091 uprv_memset(lang, 0, sizeof(char)*uprv_strlen(language) +1);
1092 uprv_strcpy(lang, language);
1149 /* check if lang and language are the same */
1150 if(language != NULL && uprv_strcmp(lang, srBundle->fLocale)!=0){
1151 fprintf(stderr,"Warning: The top level tag in the resource and language specified are not the same. Please check the input.\n");