Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
popov
Resolver III
Resolver III

Localizing the property pane using powerbi-visual tools 3

Hello.

I try powerbi-visual tools 3 and have problem with localizing the property pane in my CV. I created folder stringResources and placed file ru-RU.json in this folder.  Below fragments in code:

 

capabilities.json

"textSettings":{
"displayName": "Text Settings",
"displayNameKey": "o_tS_key",
"properties": {
"pattern": {
"displayName": "Pattern",
"displayNameKey": "o_tS_p_key1",
"type": {
"text": true
}
},
 
ru-RU.json
{
"locale": "ru-RU",
"values": {
"dr_m_key1": "Поля",
"o_tS_key": "Настройки текста",
"o_tS_p_key1": "Шаблон",
"fontColor": "Цвет",
"textSize": "Размер текста",
"alignment": "Выравнивание",
"fontFamily": "Семейство шрифтов"
}
}
 
pbiviz.json
"stringResources": ["stringResources/ru-RU.json"]
 
After run command npm run package I get message:
{ [Error: ENOENT: no such file or directory, open 'c:\Visuals\smartText\stringResources\ru-RU\resources.resjson']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path:
   'c:\\Visuals\\smartText\\stringResources\\ru-RU\\resources.resjson' }
{ [Error: ENOENT: no such file or directory, open 'c:\Visuals\smartText\stringResources\ru-RU.json\resources.resjson']
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path:
   'c:\\Visuals\\smartText\\stringResources\\ru-RU.json\\resources.resjson' }
10 REPLIES 10

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors