主权项 |
1. A method comprising:
receiving, at a language selection tool and from a first application of a plurality of applications, a plurality of first language identifiers, each of the first plurality of language identifiers corresponding to a default language descriptor string and to one of a plurality of languages supported by the first application; mapping, at the language selection tool and based upon the plurality of languages supported by the first application, each of the received plurality of first language identifiers to either: (i) its corresponding default language descriptor string, or (ii) a non-default language descriptor string, to obtain a list of first language descriptor strings associated with the plurality of languages supported by the first application, each non-default language descriptor string being different than the default language descriptor strings; presenting to a user the list of first language descriptor strings associated with the plurality of languages supported by the first application; receiving from the user a selection of one of the list of first language descriptor strings; sending to the first application a message indicating the language selected by the user; receiving, at the language selection tool and from a second application of the plurality of applications, a plurality of second language identifiers, each of the plurality of second language identifiers corresponding to a default language descriptor string and to one of a plurality of languages supported by the second application; mapping, at the language selection tool, each of the received plurality of second language identifiers to either (i) its corresponding default language descriptor string, or (ii) a non-default language descriptor string based upon the plurality of languages supported by the second application to obtain a list of second language descriptor strings associated with the plurality of languages supported by the second application, the non-default language descriptor string being different than the default language descriptor strings; presenting to the user the list of second language descriptor strings associated with the plurality of languages supported by the second application; receiving from the user a selection of one of the list of second language descriptor strings; and sending to the second application a message indicating the language selected by the user. |