hi.
when i want to translate views in multilingual site,
i can't translate filter that hasn't title and i put placeholder for it.

Comments

szabeh created an issue. See original summary.

szabeh’s picture

Title: placehoder not transable in multilingual » placehoder not transable in multilingual site
Issue tags: +views_ui

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
finne’s picture

Status: Active » Closed (cannot reproduce)

I could not reproduce this on a D9.4.x-dev install of Umami. Translating the placeholder is however quite difficult:

In the English language:
1) edit the /admin/content view to remove the label in the views filter for Title.
2) edit the /admin/content view to add a placeholder 'title' in the views filter for Title.
3) Save the view
now you need to edit the Spanish translation:
1) click the Translate view tab and edit the Spanish version
2) Find the Filter translations: Displays > Default Display settings > Content Default display options > Filters.
3) In here you will find an empty string that is translated to 'Titulo'. That is the empty label, so the translation needs to be empty too.
4) Next the placeholder 'title' has a translation 'title', so that needs changing to 'titulo'.
5) Save the translation.

Having done this the bug seems to be solved / not reproducable.