Searching#
Searching for strings#
Advanced queries using boolean operations, parentheses, or field specific lookup can be used to find the strings you want.
When no field is defined, the lookup happens on source, target, and context strings.
Simple search#
Any phrase typed into the search box is split into words. Strings containing any
of them are shown. To look for an exact phrase, put “the searchphrase” into
quotes (both single (’) and double (”) quotes will work): "this is a quoted
string" or 'another quoted string'.
Fields#
source:TEXTSource string case-insensitive search.
target:TEXTTarget string case-insensitive search.
context:TEXTContext string case-insensitive search.
key:TEXTKey string case-insensitive search.
note:TEXTSource string description case-insensitive search.
location:TEXTLocation string case-insensitive search.
priority:NUMBERString priority.
id:NUMBERString unique identifier.
position:NUMBERString position in the translation file.
added:DATETIMETimestamp for when the string was added to Weblate.
state:TEXTSearch for string states (
approved,translated,needs-editing,empty,read-only), supports Field operators.pending:BOOLEANString pending for flushing to VCS.
has:TEXTSearch for string having attributes -
plural,context,suggestion,comment,check,dismissed-check,translation,variant,screenshot,flags,explanation,glossary,note,label.is:TEXTSearch for pending translations (
pending). Can also search for all string states (approved,translated,untranslated,needs-editing,read-only).language:TEXTString target language.
component:TEXTComponent slug or name case-insensitive search, see Component slug and Component name.
project:TEXTProject slug, see URL slug.
changed_by:TEXTString was changed by author with given username.
changed:DATETIMEString content was changed on date, supports Field operators.
change_time:DATETIMEString was changed on date, supports Field operators, unlike
changedthis includes event which don’t change content and you can apply custom action filtering usingchange_action.change_action:TEXTFilters on change action, useful together with
change_time. Accepts English name of the change action, either quoted and with spaces or lowercase and spaces replaced by a hyphen. See Searching for changes for examples.check:TEXTString has failing check, see Checks and fixups for check identifiers.
dismissed_check:TEXTString has dismissed check, see Checks and fixups for check identifiers.
comment:TEXTSearch in user comments.
resolved_comment:TEXTSearch in resolved comments.
comment_author:TEXTFilter by comment author.
suggestion:TEXTSearch in suggestions.
suggestion_author:TEXTFilter by suggestion author.
explanation:TEXTSearch in explanations.
label:TEXTSearch in labels.
screenshot:TEXTSearch in screenshots.
Boolean operators#
You can combine lookups using AND, OR, NOT and parentheses to
form complex queries. For example: state:translated AND (source:hello OR source:bar)
Field operators#
You can specify operators, ranges or partial lookups for date or numeric searches:
state:>=translatedState is
translatedor better (approved).changed:2019Changed in year 2019.
changed:[2019-03-01 to 2019-04-01]Changed between two given dates.
position:[10 to 100]Strings with position between 10 and 100 (inclusive).
Exact operators#
You can do an exact match query on different string fields using = operator. For example, to
search for all source strings exactly matching hello world, use: source:="hello world".
For searching single word expressions, you can skip quotes. For example, to search for all source strings
matching hello, you can use: source:=hello.
Searching for changes#
New in version 4.4.
Searching for history events can be done using change_action and
change_time operators.
For example, searching for strings marked for edit in 2018 can be entered as
change_time:2018 AND change_action:marked-for-edit or
change_time:2018 AND change_action:"Marked for edit".
Regular expressions#
Anywhere text is accepted you can also specify a regular expression as r"regexp".
For example, to search for all source strings which contain any digit between 2
and 5, use source:r"[2-5]".
Predefined queries#
You can select out of predefined queries on the search page, this allows you to quickly access the most frequent searches:
Ordering the results#
There are many options to order the strings according to your needs:
Searching for users#
New in version 4.18.
The user browsing has similar search abilities:
username:TEXTSearch in usernames.
full_name:TEXTSearch in full names.
language:TEXTUser configured translation language (see Translated languages).
joined:DATETIMEString content was changed on date, supports Field operators.
translates:TEXTUser has contributed to a given language in the past month.
contributes:TEXTUser has contributed to a given project or component in the past month.
Additional lookups are available in the Management interface:
is:botSearch for bots (used for project scoped tokens).
is:activeSearch for active users.
email:TEXTSearch by e-mail.