Tool to extract translateable strings from app
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => check the FAQ and search github for a similar issue or PR before submitting
[ ] support request => check the FAQ and search github for a similar issue before submitting
[x] feature request
Current behavior You have to manually extract strings you want translated
Expected/desired behavior
A tool that automatically extracts strings using translate
pipe in templates or the get
method in components.
Maybe I missed something and this is already possible, but I haven’t seen it mentioned anywhere and have been unable to find anything related using Google.
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Lingobit Extractor - Extracts hard-coded strings to resources
The tool solves a huge part of internationalization task by extracting hard-coded strings from source code to resources. Many days of tedious, error...
Read more >Text extraction tools for macOS and iOS app localization
Working with source files If we want to only extract the translated text for source files, we can use the genstrings tool to...
Read more >Making Your App Ready for Translations
In this tutorial we'll show how to extract the strings your app displays. We'll review several alternatives for accessing translated strings. First, follow...
Read more >PO file (Gettext) - Localizely
Upload your PO files to Localizely and translate missing strings with translators. Once translated download files back to your source code. To automate...
Read more >Translations - Frappe Framework
How it works · 1. Extracting translatable strings · 2. Translating the extracted strings · 3. Translating strings in app.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nothing public yet. I will be a nodejs lib that you can call as a cli, or include as a library if you prefer. You’ll give it a glob of files to parse (ex:
["src/*.ts", "src/*.html"]
) and it will use regexps to find matches. The tricky part is the find the correct matches and transform them into keys 😃Closing this issue now, use @biesbjerg’s extractor if you need it ! It works well 😃