Feature request: Allow no-op/lazy translations
See original GitHub issueFollowup from #53
Sometimes it’s necessary to mark strings which will be translated in the future, but leave them intact for now:
import { Trans, noop } from 'lingui-react'
const menu = [
{ to: '/about', title: noop('About') },
{ to: '/contact', title: noop('Contact') },
]
// later in the code
const Menu = () =>
<div>{
menu.map(item =>
<Link to={item.to}>
<Trans id={item.title} />
</Link>)
}</div>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
[Feature request] Allow other online sources than Google ...
Hi. Currently, your cute application allow translation from only one online site, Google translate. But there are other cute source for ...
Read more >Translate into different languages | Feature Requests - Canny
Customer facing part must be available in other languages (spanish, italian, Portuguese, German and French in my case).
Read more >Feature Request Template: How to Manage Suggestions at ...
A feature request template provides a framework for your users to give feedback, making your life as a product manager a whole lot...
Read more >Feature Request: Topic Title Translation - Discourse Meta
Allow the topic translation controls to translate the title into additional locales beyond the predefined list, including perhaps by users ...
Read more >Forum Archive - Feature requests - GTranslate.io
Hi, Please write your wishes/feature requests below and we will try ... a blank page whereas on the non-translated pages it will give...
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
Alright, added in latest releases:
The function is named
i18nMark
after all. See the docs for more info.Awesome!