<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="385475" data-post-id="385475">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just <a href="https://github.com/zebbra/gettext_sigils/releases/tag/v0.3.1" rel="noopener nofollow ugc">released</a> <strong>v0.3.1</strong> with the following change:</p>
<ul>
<li>deprecate the use of the separator (<code>||</code>) for pluralization and promotes the use of a shared msgid for singular/plural forms (thanks <a class="mention" href="/u/dkuku" rel="nofollow">@dkuku</a> for the idea)</li>
</ul>
<p><strong>Note:</strong> The separator will still work in the v0.3.x release, but it will be <strong>removed in v0.4.x</strong> (unless there is a good reason to keep it).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385475" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-385475" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385475"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #31"></div>
  </section>
</div>
    <div class="postbit" id="385499" data-post-id="385499">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just <a href="https://github.com/zebbra/gettext_sigils/releases/tag/v0.3.2" rel="noopener nofollow ugc">released</a> <strong>v0.3.2</strong> with the following fix:</p>
<ul>
<li>don’t expect pluralization separator to be present in application config</li>
</ul>
<p>I also noticed that there is an issue when using explicit keys in HEEx templates:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># this works
~H"""
&lt;h1&gt;{~t"Hello, #{@name}!"}&lt;/h1&gt;
&lt;div&gt;{~t"You have #{@count} notification(s)"N}&lt;/div&gt;
""

# this DOES NOT work
~H"""
&lt;h1&gt;{~t"Hello, #{name :: @user.name}!"}&lt;/h1&gt;
&lt;div&gt;{~t"You have #{count :: length(@notifications)} notification(s)"N}&lt;/div&gt;
"""
</code></pre>
<p>The reason for this is that the HEEx engine does not transform assigns on the right side of <code>::</code> operators, which are usually used for binary modifiers (see Phoenix LiveView <a href="https://github.com/phoenixframework/phoenix_live_view/blob/48061f7bc97c2f788a21de32673442dae6f060e8/lib/phoenix_live_view/engine.ex#L1179-L1183" rel="noopener nofollow ugc">source</a>).</p>
<p>See issue <a href="https://github.com/zebbra/gettext_sigils/issues/23" rel="noopener nofollow ugc">#23</a> for more information. I’m honestly not sure if this is a bug in LiveView that could be fixed or if I made a bad choice using the <code>::</code> operator for explicit keys.</p>
<p>If anyone with more knowledge than me has some insights, some guidance would be appreciated! <img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji" alt=":heart:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385499" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-385499" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385499"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #32"></div>
  </section>
</div>
    <div class="postbit" id="385507" data-post-id="385507">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="wojtekmach" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/wojtekmach/120/999_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  wojtekmach
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Hex Core Team</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Would <code>#{count = length(@notifications)}</code> help? I suppose :: is similar enough generating binaries with <code>&lt;&lt;x::y&gt;&gt;</code> but otherwise looked odd to me inside ~t. <code>=</code> would bring other perhaps unwanted connotations so perhaps it’s not ideal either.</p>
<p>I haven’t looked at the implementation yet but I’d think macro should expand so that HEEx just sees RHS, while somehow preserving gettext extraction behavior if possible.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385507" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-385507" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385507"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #33"></div>
  </section>
</div>
    <div class="postbit" id="385509" data-post-id="385509">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks <a class="mention" href="/u/wojtekmach" rel="nofollow">@wojtekmach</a>! I used <code>::</code> because I liked the similarity to typespecs, but if <code>=</code> just works, I think it is worth to change.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385509" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-385509" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385509"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #34"></div>
  </section>
</div>
    <div class="postbit" id="385511" data-post-id="385511">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Great, using <code>=</code> works as expected! <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"> I already updated and merged the PR.</p>
<p>I’m sorry for introducing another breaking change, but with these issues ironed out, I think it should soon be a bit more stable <img src="https://forum.elixirforum.com/images/emoji/apple/sweat_smile.png?v=15" title=":sweat_smile:" class="emoji" alt=":sweat_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385511" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-385511" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385511"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #35"></div>
  </section>
</div>
    <div class="postbit" id="385514" data-post-id="385514">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I just <a href="https://github.com/zebbra/gettext_sigils/releases/tag/v0.4.0" rel="noopener nofollow ugc">released</a> <strong>v0.4.0</strong> with the following <strong>breaking</strong> changes:</p>
<ul>
<li>remove deprecated separator-based pluralization and removed the <code>:pluralization</code> option from <code>use GettextSigils</code> sigils config and application config</li>
<li>explicit key syntax changes from <code>#{foo :: bar}</code> to <code>#{foo = bar}</code> to support HEEx assigns (thanks <a class="mention" href="/u/wojtekmach" rel="nofollow">@wojtekmach</a>)</li>
<li>HEEx assigns in interpolation now use the assign name as interpolation key (<code>@foo</code> =&gt; <code>%{foo}</code>)</li>
</ul>
<p>I apologize for introducing another breaking change with this release, but I hope to have a bit more stability now that some major issues have been solved! <img src="https://forum.elixirforum.com/images/emoji/apple/folded_hands.png?v=15" title=":folded_hands:" class="emoji" alt=":folded_hands:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385514" data-batch-url="/posts/batch_likers">
                        5
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/37">Post #36</a>
	                </div>
	            </div>
              <div id="likers-container-385514" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385514"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #36"></div>
  </section>
</div>
    <div class="postbit" id="385794" data-post-id="385794">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="pokecho" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  pokecho
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>This horse may have left the barn. However, you may consider  <strong>~gtxt</strong> instead of <strong>‘~t’</strong> for clarity:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># replacing 'gettext()' with '~gtxt()'
~gtxt"Hello, #{user.name}"
</code></pre>
<p>As, <strong>~t</strong> could mean <em>anything</em>.</p>
<p><strong>Sidenote:</strong> I once suggested using sigils in function definitions to replace ‘do’ for Elixir code back in 2017 during the Elixir v.1 <em>“syntax wars”.</em></p>
<p><strong>archive:</strong> This was the syntax I proposed for the next version of Elixir almost a decade ago.</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># replacing 'do' with '~&gt;'
# note: 'defm' replaces 'defmodule'
defm areas ~&gt;
# also note: docstrings are bounded by '|: ... :|'
|: Calculates the area of a rectangle given its length and width :|

# function definition: 'area_rect/2'
   def area_rect (length, width) ~&gt;
     length * width
   ... # replaces 'end' 
...  
</code></pre>
<p>Notice there are no <strong>‘end’</strong> block delimiters. I had also proposed that  ‘<strong>…</strong>’  could replace ‘<strong>end’</strong> to close the function or module block. (<em>coughs, clears throat</em>) Maybe someday <img src="https://forum.elixirforum.com/images/emoji/apple/thinking.png?v=15" title=":thinking:" class="emoji" alt=":thinking:" loading="lazy" width="20" height="20"> .</p>
<p><a class="mention" href="/u/josevalim" rel="nofollow">@josevalim</a> had some interesting and pragmatic reasons for sticking with the Elixir syntax  having fought with the syntax question privately at the language’s inception (see the HN discussion: <a href="https://news.ycombinator.com/item?id=8672996" rel="noopener nofollow ugc">https://news.ycombinator.com/item?id=8672996</a> ).</p>
<p>Nevertheless,  I’m happy to see <a class="mention" href="/u/josevalim" rel="nofollow">@josevalim</a>  now appreciates that sigils can make verbose Elixir code more succinct … and beautiful <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>(For more on the <em>Elixir Syntax Wars</em> see here: <a href="https://forum.elixirforum.com/t/discussion-about-syntax-preferences-split-posts/3436" rel="nofollow">https://forum.elixirforum.com/t/discussion-about-syntax-preferences-split-posts/3436</a>)</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385794" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/38">Post #37</a>
	                </div>
	            </div>
              <div id="likers-container-385794" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385794"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #37"></div>
  </section>
</div>
    <div class="postbit" id="385796" data-post-id="385796">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="LostKobrakai" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/LostKobrakai/120/3072_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  LostKobrakai
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="pokecho" data-post="38" data-topic="74645">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/p/85e7bf/48.png" class="avatar"> pokecho:</div>
<blockquote>
<p>However, you may consider <strong>~gtxt</strong> instead of <strong>‘~t’</strong> for clarity:</p>
</blockquote>
</aside>
<p>Only uppercase sigils can be multicharacter.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385796" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/39">Post #38</a>
	                </div>
	            </div>
              <div id="likers-container-385796" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385796"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #38"></div>
  </section>
</div>
    <div class="postbit" id="385797" data-post-id="385797">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="pokecho" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  pokecho
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You’re right given AST pragmatics (i.e., parser simplicity). Instead of a separate sigil library, one may need to consider ditching the sigil and just replacing <strong>“gettext’</strong> with <strong>“gtxt”.</strong> We really should move away from single character references in code just on the basis of the ambiguity nightmare these can cause for code maintainers. That’s the kernel of my earlier proposal.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385797" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/40">Post #39</a>
	                </div>
	            </div>
              <div id="likers-container-385797" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385797"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #39"></div>
  </section>
</div>
    <div class="postbit" id="385802" data-post-id="385802">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="hwuethrich" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/hwuethrich/120/33581_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  hwuethrich
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks for your feedback! I really appreciate critical feedback. I was not aware of the early language wars and (maybe naively) just picked what looked best (at least to me).</p>
<p>I actually considered using <code>~GTXT</code> or <code>~GT</code> for clarity reasons, but decided against it because my goal was keeping the visual noise as low as possible. I wanted to avoid things like this:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">~GTXT"No"
# compared to
~t"No"
</code></pre>
<p>I also remembered in Rails you could use <code>t("...")</code> and I liked the parallel. I can also say that because we have already used the <code>~t</code> sigil over several years internally at my company, it’s something you get used to very quickly and everybody in the team recognises this as a translation. But that, of course, is just us in our small bubble and your concern is still valid.</p>
<p>All that said, I’m open for suggestions for 1.x <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>Cheers! <img src="https://forum.elixirforum.com/images/emoji/apple/heart.png?v=15" title=":heart:" class="emoji" alt=":heart:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="385802" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/gettext-sigils-a-sigil-for-using-gettext-with-less-boilerplate-and-better-readability/74645/41">Post #40</a>
	                </div>
	            </div>
              <div id="likers-container-385802" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="385802"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #40"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/74645/load_more?page=5">Load more posts (9 remaining)</a>
</div></template></turbo-stream>