When searching to start a new translation in Section translation there are some situations where the search results is shown empty. This ticket proposes to show a message for these empty states:
- Initial empty state. Other tickets will add contents to the search view initial state such as previously edited articles (T282430). However, it may be possible that content is not available for some users. In such case, this message will be shown: "Think of any topic of your interest. You don’t need to be an expert to create a great translation." This is already used in Content Translation on desktop to encourage users to translate.
- No results found when searching. Users may provide a query for which there is no result. In such cases, we want to communicate that explicitly. Showing the search query and the language would help users identify whether they made a typo or were searching in the wrong language. The proposed message is "No pages found for "<query>" in <language>".
In both cases the message will be rendered in the same form, using a 16px font with Base30 color (#72777d):
Current status:
Initial state | No results found state |
---|---|