#175 Include URL in the translation
Closed 2 years ago by darknao. Opened 3 years ago by ersen.
fedora-web/ ersen/websites i18n-fix  into  master

Include URL in the translation
Oğuz Ersen • 2 years ago  
@@ -127,7 +127,7 @@ 

          <div class="col-md-4 py-4 col-xs-12">

            <div class="col-12">

              <h3 class="font-weight-light"><i class="fa fa-fw fa-lg header-icon fa-envelope"></i>{% trans trimmed %}&nbsp; Email{% endtrans %}</h3><br>

-             <h5 class="font-weight-light">{% trans trimmed %}Users and developers are also available on the mailing list at{% endtrans %} <a href="https://admin.fedoraproject.org/mailman/listinfo/iot">iot@lists.fedoraproject.org.</a></h5>

+             <h5 class="font-weight-light">{% trans trimmed %}Users and developers are also available on the mailing list at <a href="https://admin.fedoraproject.org/mailman/listinfo/iot">iot@lists.fedoraproject.org.</a>{% endtrans %}</h5>

            </div>

          </div>

          <div class="col-md-4 py-4 col-xs-12">

With this PR, URL will be included in the translation string, so it will be easier to relocate it in the translated string.

Can you explain why this is desirable? In general, URLs shouldn't be translated, so why do we want it in the translated string?

Because in different languages, it may be translated better if translator can change the position of the URL in the translated string. For example, this string is similar to the one we have here, and I put the URL in the middle of the translated string. And this is the current situation of the string this PR is related to.

This is not about translating the URL but giving translator the ability to better structure their translated sentence. Strings similar to this one can be seen here.

rebased onto a254f48

2 years ago

Metadata Update from @darknao:
- Request assigned

2 years ago

Pull-Request has been closed by darknao

2 years ago
Metadata