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.

Translation generation?

See original GitHub issue

What about a translation generator command?

The goal is to permit the user to write translation keys or raw language text directly on the template like $t('hello !') and then the command extract the translation and push it on the files for you.

Here is a PHP example: https://symfony.com/doc/current/translation.html#extracting-translation-contents-and-updating-catalogs-automatically

WDYT?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
pixaricommented, Jan 28, 2019

Hi! I’m working on this topic.

Currently I’m writing a small and simple script to manage it with static analysis, you can find it here: vue-i18n-extract

My goal is to have something that analyses code statically for key usages in order to:

  • Report keys that are missing in the language files
  • Report unused keys in the language files
  • Add automatically missing keys in the language files
  • Remove automatically missing keys in the language files
  • Report duplicated keys

The core part is done. My goal is to implement the remaining features within 2 weeks.

Should we think about an integration in the next future?

Feel free to have a look and give feedbacks 😃

2reactions
kazuponcommented, Feb 11, 2019

@erickwilder Thanks. We have not made anything yet at this moment, as we are going to start now. when It’s starting to look good, We might ask for your cooperation. 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Generation Translation
We now have four, and soon to be five, generations communicating, living and working with each other—Traditionalist, Baby Boomers, Generation X, ...
Read more >
Domain-Specific Text Generation for Machine Translation
In this work, we propose a novel approach to domain adaptation leveraging state-of-the-art pretrained language models (LMs) for domain-specific ...
Read more >
Paul Anderson: A Translation for a New Generation
A Translation for a New Generation. Professor Paul Anderson works to update the world's most widely read translation of the Bible. By Sara...
Read more >
Full Translation: China's 'New Generation Artificial Intelligence ...
At present, the development a new generation of AI and related disciplines, theoretical modeling, technological innovation, hardware and software upgrades, etc.
Read more >
Spanish Translation of “generation”
Spanish Translation of “generation” | The official Collins English-Spanish Dictionary online. Over 100000 Spanish translations of English words and phrases.
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