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.

Hey there,

I have a few questions 😀 I’ve read all the /docs but could not wind my answers there.

  1. Any way to handle plurals? Something like { cars: 'cars | one car | {count} cars'} and $_('cars', { count: 1})
  2. Is there a way to assign defaults to templates? e.g. { delete: 'Delete {what}'} would default to Delete foo if no value is given

Thanks for the project! Btw now that Github discussions are released maybe you could enable them, so you don’t end up with QA tickets like this one. 😆 🙈 Sryy

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
DmitryMyadzeletscommented, Jan 23, 2021

The questions are related to the Svelte, not the package.

  1. An example with cars
  2. See the tutorial: https://svelte.dev/tutorial/default-values
1reaction
kaisermanncommented, Feb 21, 2021

Hey, @cupcakearmy 👋 Default value for an interpolated value should be handled by the app’s side, as the ICU syntax does not support this feature.

@DmitryMyadzelets Thanks for the other answers!

Read more comments on GitHub >

github_iconTop Results From Across the Web

100 Getting to Know You Questions - SignUpGenius
100 Getting to Know You Questions · Who is your hero? · If you could live anywhere, where would it be? · What...
Read more >
500 Good Questions to Ask - Conversation Starters World
GOOD QUESTIONS TO ASK · What weird food combinations do you really enjoy? · What social stigma does society need to get over?...
Read more >
400 Fun Questions to Ask People (Friends, Family, Strangers)
400 Wacky, Wild & Totally Fun Questions to Ask Anyone—Including Friends, Family & Even Strangers! Find a good, interesting, and random question ......
Read more >
272 Deep Questions to Ask: A Guy, Girl, Friend, or Anyone
One way is to ask them deep questions. So here are some deep questions you can ask different people--people like your partner, friends,...
Read more >
200 Best Questions To Ask To Get To Know Someone
Luckily, there are a few expert-approved tricks that'll help you get on your conversation A-game. Advertisement - Continue Reading Below.
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