Problem
In any SQL Server Analysis Services (SSAS) solution that has global users, one of the common requirements is the localization of data based on users locale. Users prefer to have the visual cues for the understand the data in their local language. In this tip we would understand how to add localization support to dimension attributes.
Solution
SSAS provides a feature called Translations that can be used to add localization support for a dimension. Let’s walk through an example with a sample Customer dimension.
1: Consider we have a cube dimension named Customer with a few attributes as shown below.

2: Click on Translations tab, right-click and select “New Translation” tab. This should bring up a language selection tab. Select the language of your choice and click OK.

3: After the translation is created, based on the language selected, add the translated caption against the attributes. You can use translators like translate.google.com and find the translation in the target language, and add the same to the translation as shown below.

4: Deploy the cube, and browse the same using SQL Server Management Studio (SSMS). On the top of the browser you should be able to see a Language option, from where the user can select the language of choice. Select the target language as shown below.

5: Once the language has been selected, the captions in the translated / localized language would be displayed as shown below. Only the attribute captions would be selected in the localize language. This would help users to identify attributes of a dimension in a localized language.
Next Steps
- There are also translations available at the cube level. Try creating translations at the cube level to add localization support.
- Learn more about SQL Server Analysis Services:
Siddharth has more than 14 years of experience in the IT Industry, with more than a decade of experience in Business Intelligence and Analytics, for clients banking, logistics, government, Media Entertainment, products, life sciences and other domains. He has been a lead architect for a portfolio of 40+ apps, containing apps in web, mobile, BI, Analytics, data warehousing, reporting, collaboration, CMS, NoSQL and other technologies. He has several certifications and is a published author for online and print-media publications, as well as the MSDN Library.
In his present role, he remains responsible for architecture design, technology stack selection, infrastructure design, 3rd party products evaluation and procurement, and performance engineering. These applications use technologies like Elasticsearch / Lucene, MongoDB, SharePoint 2013 and 2010, jQuery-based framework like Highcharts and GoJS, SQL Server and the Microsoft Business Intelligence stack (SSIS, SSAS, SSRS, MDX, PowerPivot, PowerView), jQueryMobile, Bootstrap, iOS xCode framework, and many others.
- MSSQLTips Awards: Champion (100+ tips) – 2018 | Author of the Year – 2017 | Author Contender – 2016, 2018-2019