question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to localize Command Sets?

See original GitHub issue

Category

  • Question
  • Typo
  • Bug
  • Additional article idea

Question

How do we localize Command Sets? I noticed there is an id property on the items object in the manifest file, which has the following description:

image

  1. If I use the expression as in the screenshot: "id": "$CommandSetTestCommandSetStrings:CommandSetTestCommandSetStrings.Command1;"
  2. and add a nl-nl.js file with dutch values.
  3. and debug the extension on a dutch site => it will load the value from the Command1 property on the localized resource, but only in the default (english) language.

Is this expected behavior? Should I write the expression differently? Or is it a bug?

Hope someone can shine a light on this!

Screenshot step 1: image

Screenshot step 2: image

Screenshot result: image

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
martinlingstuylcommented, Oct 23, 2017

And there it is, for the sake of progeny: https://github.com/SharePoint/sp-dev-docs/issues/922

1reaction
martinlingstuylcommented, Oct 11, 2017

I understand. It began as a question regarding specific extension, so I filed it here. I’ll refile it in the correct issues list.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Localizing Menu Commands - Visual Studio - Microsoft Learn
In this article. Localize command names; Localize other text resources; Incorporate localized resources into the project; See also.
Read more >
How to Localize Linux - Secur
The command's most common options are: list-locales: Lists all of the locales installed on your system; set-locale: Offers an easy way to ...
Read more >
Localize CLI - Developer Docs
To push phrases and translations into your Localize account, run the push command. This command will look at each file in your push...
Read more >
08-A.3: Localization - localectl Command
In computing, a locale is a set of parameters that defines the user's language, region, and any special variant preferences that the user...
Read more >
Learn How to Localize Your Installation on Oracle Linux
The command handles the generation of locale information and sets the default values for users when they log into the system, either throught...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found