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.

Messages extration for translation

See original GitHub issue

How I could extract dictionary with all messages for translation? I mean something like formatjs extract

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
akellbl4commented, Jan 5, 2021

Okay, sorry for interaction, I can do it with formatjs It could be solved by specifying custom Component/function names. https://formatjs.io/docs/tooling/cli#--additional-component-names-comma-separated-names https://formatjs.io/docs/tooling/cli#--additional-function-names-comma-separated-names

Maybe it could be great to write about it in docs. I will write if everything work well with formatjs

0reactions
akellbl4commented, May 5, 2021

@pret-a-porter hi, can’t find much time for it because the task is large. We have an issue in Remark42 repo. I would be happy if you make a PR on it. Thank you 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

yiisoft/translator-extractor: Extracts messages to ... - GitHub
The package allows automatically extracting translation IDs from PHP source files and writing them to one of the translator message sources.
Read more >
Working with Message Catalogs — Babel 2.11.0 documentation
Message catalogs are collections of translations for such localizable messages used in ... The mapping of extraction methods to files in Babel is...
Read more >
Extract messages for translation into a .pot file - Michael Chirico
po_extract () scans your package for strings to be translated and saves them into a .pot template file (in the package's po directory)....
Read more >
Extracting Messages That Need Translation
Do the following to extract messages the require translation: 1. Launch Utilities 3E and then the Upgrade 3E – Extract Utility.
Read more >
Extracting translations - i18next documentation
Static extraction tools can read through your code files to automatically find and export translation keys. i18next-scanner, i18next-parser and babel-plugin-i ...
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