I'd like to add onto a VF page a dropdown with the active languages set in the translation workbench. The idea is to load another VF page setting the language to the chosen value from the dropdown list.

I can do everything I need except build the list of languages the user can choose from. Is it possible to 'query the translation workbench' and find these active languages?

From this example I need to find English, German, Japanese and Korean.

Screen showing translation WB langauges screen for ref.



Looks like its an idea and currently the translation workbench is not exposed as an API

Since a metadata is exposed for this its doable only through apex metadata wrapper developed by MVP andrew .Have a look at below to explore more


May be you will have to look at retrive call of metadata http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_retrieve.htm

  • Thanks for the answer Mohith. Not sure I need to go to the trouble of accessing through a metadata wrapper - too much like hard work! I'm going to add a custom setting and the users will have to keep everything in sync. Not an elegant solution but will do for the time I have available. – Richard Durrant Nov 18 '13 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.