This forum is for questions about translating the Drupal user interface. See also the Translations group.

Bootstrap Glyphicons broken in translated view (Arabic)

I have a form on the User profile page with a "Save" button with a checkmark (Bootstrap class .glyphicon-ok). The problem is, when I view the page in Arabic, the Glyphicon is being rendered in Times font instead of Bootstrap's Glyphicon font. So, it shows up as a square.

Any ideas how I can fix this problem? I have tried things like adding an ar/ prefix to Bootstrap's style.css, as in:

How to translate twig content?

Hi all,
I'm using this syntax, in custom Twig templates, to add the labels that should be translated when the user chooses another language:
{% trans %}Add deadline{% endtrans %}

Now where do I have to translate the label "Add deadline"?
I can't find it in Admin->Configuration-->User interface translation.

thank you very much

Claudio

Translating search field removes search button

Hello,
if i translate the word search showing in the search field, the search Button (image) will removed. how can i translate this without removing the button?

Translate static content

In my site there are lot of static content such as section headers and random content. I want to translate them.

Can I translate with them {% trans %}my content{% endtrans %} in twig?

If yes, where to insert the translations in the backend?

Translating A Node Overwrites Default Language URL Alias On Save

Hi,

I have an issue plaguing my site, when a user translates a page (and saves it), the url alias overwrites English (my default language).

EX:

How to get t(string) located in .inc files to be included in Translation Strings?

I have blocked out my HTML for Views UI Fields, Headers, and Footers. This is done in an attempt to be able to use t(string) and call functions, among other things. Here's an example:

In a Drupal field I have something like this:

<?php
print pg_render_degrees_details_header($nid) 
?>

And in degrees-details.rendered_html.inc I have this:

Pages

Subscribe with RSS Subscribe to RSS - Translations