Usajobs opm gov official language translator bing maps
Click here to ENTER
Finite-State Methods in Natural Language Organized by: Edward Derrick, as our website at for copies ofthe announcements. 26, letter related to „senior officials’ use of government-owned aircraft It was posted on under Control Number starting on. Oklahoma State Regents for Higher Education website | map | email.
Typically, you will also have your own custom data that you will be displaying within your mapping application. We will use the Microsoft Translator API to demonstrate how we can localize custom content in a web application using our AJAX v7 map control, and we will also use the Bing Translator Control to show how we can localize custom content in native Windows Store apps. As outlined in the Bing Developer Center , the Translator Service offers easy access to robust, cloud-based, automatic translation between more than 40 languages.
A detailed walkthrough of the process of signing up for the Translator service and obtaining credentials is provided here. To briefly summarize the process, you must:. In both of our sample applications, we will be pulling in data from a very simple custom data source that is hosted in Bing Spatial Data Services.
The data source will contain only five fields: a unique EntityId field; Latitude and Longitude for location; and Name and Description fields, which will be translated in our apps. You can download the csv file which can be uploaded via the Data Source Management API to your own custom data source. Alternately, the code samples are already configured to access the data from an existing publicly accessible data source containing this data.
The first sample application we will build will be a web application that accesses the sample data via the Query API, and displays the locations as pushpins on the AJAX v7 map control. When the pushpins are clicked, the Name and Description content for the location are translated via the Translator API. We will now create a simple project using the ASP. The first thing we will add to our application is a Token. We will populate this class with the sample code provided in the Translator SDK, here.
We also extend the Pushpin class with title and description properties, which will be used to hold data to be displayed later. You will need to substitute your own Bing Maps key in the placeholder for the bmKey value:. In our QueryDatasource event handler function, which is called when the map view changes, we obtain the credentials from our map session, specifying QueryDatasourceRequest as our callback. The current bounds of the map are obtained, and used to query our sample data using a bounding box spatial filter, and specifying json as the output format.
We specify callbackQueryDatasource as our callback function in our request:. In our callbackQueryDatasource function, we check to make sure we have received results, and then loop through each of the individual entities, adding a pushpin for each, using the coordinates to place the pushpin, and adding the Name and Description to our pushpin title and description properties. Our translateInfoBox function is called when a pushpin is clicked, and we construct a request to the Translator API AJAX interface , using the TranslateArray method, which allows us to translate an array of individual text blocks.
The parameters that we pass in the request include:. In a production application, some consideration should be given to the overall application localization you wish to support, and associating the localization and translation parameters as appropriate. In our showInfoBox callback function, we receive the response from the TranslateArray request. We use the State attribute in the response to correlate the response to the correct pushpin.
We then instantiate an Infobox , and use the translated string elements in the response array to display the translated name and description for the location:. When we hit F5 in Visual Studio to run our application, we now see not only French-labeled navigation in our map control, but French translations for our infobox content as well:. The second sample application we will build will be a native Windows Store application that will access the same sample data via the Query API, and displays the locations as pushpins on the native Bing Maps for Windows Store Apps control.
When the pushpins are clicked, the Name and Description content for the location are translated via the Translator Control. Before we start, we must download and install the Translator Control for Visual Studio. We will also choose our platform target in the project Build properties as desired. Our UI will be very basic, and will leverage the infobox capabilities previously presented in the Infoboxes for Native Windows Store Apps post.
Translator , a TranslatorControl with our credentials included, and will set our Culture property to fr-FR , to display our navigation controls and some map labels in French.
Substitute your own credentials for the Translator Control client id and client secret, as well as for the Bing Maps key:. We now update our constructor to set the map view, and to call the LoadSDSData method to retrieve our data:. In our LoadSDSData method, we mark the method with the async modifier, to allow us to request data from the Spatial Data Service asynchronously with the await operator.
The method retrieves the current map bounds, and constructs a request URI for the Query API , using our sample data source, and using a bounding box spatial filter. We also specify the response format as json. The request is issued in the GetResponse method. For simplicity, a StreamReader object is used to read the response stream, with the response parsed into a JsonObject. We use the tools provided in the System. Json namespace to retrieve the coordinates, name and description for each result.
We then add a pushpin for each result with the AddPushpin method, as taken from the previously referenced infobox post :. We re-use the pushpin and infobox code from the previous infobox post , with one modification: we use the Translator Control to asynchronously translate our entity name and description, using the TranslateAsync method of the Translator Library.
To this method, we pass the following parameters:. Note that we could also retrieve a list of available languages for translation through the GetLanguagesAsync method of the Translator Library, if desired. The full pushpin and infobox code, including our translation updates, is shown below:. As with our previous application, when we hit F5 in Visual Studio, we now see not only French navigation in our map control, but French translations for our infobox content as well:.
We have shown how we can use the power of Bing as a developer platform to not only map our custom location data on the web and in Windows Store apps, but to also localize our custom mapping data and other application content for global audiences, using a world-class machine translation system built on over a decade of natural language research from Microsoft Research. The samples in this application use the Translator Service to translate text at application runtime. When developing your application, you will want to consider whether your consumption of the service can be optimized by translating text as part of your content editorial workflow instead.
Considerations to take into account include:. The complete code for both projects, as well as the sample SDS data source can be found here. The Token. Serialization System. ServiceModel To our application, we will add a C web form called translate. Populate the placeholders with your own Translator credentials: using System; using System. Generic; using System. Linq; using System. Web; using System. UI; using System.
GetAccessToken ; Response. Write string. Map document. Location Pushpin new MM. Location result. Latitude, result. Name; pushpin. Infobox pushpin.
TranslatedText, description: response. Maps; using Bing. Translator; using System. Net; using Windows. Json; using System. SetView new Location GetNamedNumber „Latitude“ , ja[i]. GetNamedNumber „Longitude“ , ja[i].
GetNamedString „Name“ , ja[i]. ReadToEnd ; return JsonObject. TranslateAsync fromLang, toLang, „general“ , m. Description ; m. TextTranslated; m. TextTranslated; …. SetPosition p, latlong ; p. TranslateAsync fromLang, toLang, „general“, m. IsNullOrEmpty m.
Visible; MapLayer. SetPosition Infobox, MapLayer.
USAJOBS – The Federal Government’s Official Jobs Site | – traffic statistics • receives approximately K visitors and 1,, page impressions per day. Programming Languages PHP Databases MySQL. Profile. Title: USAJOBS – The Federal Government’s Official Jobs Site. Aug 22, · The Bing Maps for Enterprise platform offers extensive localization capabilities for map navigation, map labels, directions, and geocoding results in the AJAX v7 map control, Windows Store map control, and REST Services. Typically, you will also have your own custom data that you will be displaying within your mapping application. How does USAJOBS work? Federal agencies are responsible for posting job vacancy announcements on the USAJOBS Website. Vacancy announcements for agency positions are .