I downloaded and enabled translations for my Drupal core and modules using these Drush commands:
drush dl l10n_update && drush en -y $_ drush language-add lt && drush language-enable $_ drush l10n-update-refresh drush l10n-update
I got almost everything translated, and in “Administration » Configuration » Regional and language” I see that I have almost 60% of translations to Lithuanian.
However, not everything is translated. For example, harmony forum module thread reply;
<ul class="post-links links--inline"><li class="show_replies first"><a href="/forumas/" id="post-1-show-replies" class="post-show-replies ajax-processed" data-thread-id="1" data-post-id="1">2 replies</a></li> <li class="reply"><a href="/forumas/post/add?field_harmony_thread=1&field_harmony_post_is_reply_to=1" id="post-1-reply" title="Reply directly to this post" class="reply-link" data-thread-id="1" data-post-id="1">Atsakyti</a></li> <li class="reply_as_new_thread"><a href="/forumas/thread/add?field_harmony_thread_cont_from=1" id="post-1-reply-as-new" title="Create a new thread as a reply to this post" class="reply-link" data-thread-id="1" data-post-id="1">Reply as a new thread</a></li> <li class="flag-harmony_likes last"><span><span class="flag-wrapper flag-harmony-likes flag-harmony-likes-1"> <a href="/forumas/flag/flag/harmony_likes/1?destination=thread/1&token=zOnI9qp9K92XqmzqfCM8P-0n7f_FEMQKzumwX_A4xb4" title="" class="flag flag-action flag-link-toggle flag-processed" rel="nofollow"><span class="count">(0)</span> <span class="text">Like</span></a><span class="flag-throbber"> </span> </span> </span></li> </ul>
and user profile statistics
<div class="field field--name-field-harmony-thread-count field--type-number-integer field--label-above"> <div class="field__label">Thread count: </div> <div class="field__items"> </div> <div class="field field--name-field-harmony-post-count field--type-number-integer field--label-above"> <div class="field__label">Post count: </div> <div class="field__items"> </div>
How can I edit these strings to be translated?
Sponsored by SupremePR