# Căutare

<a id="search-results-cache"></a>

## Results while translating

The translation editor keeps the current search results while you translate.
For example, translating an untranslated string does not remove it from the
list, so you can navigate back to it. Reloading a page with a saved position
in its URL (`offset`) keeps this list. An initial search URL without a
position runs the search again when reloaded.

Select the Refresh results icon next to the query input or press
`Enter` in the filter field to
run the search again and start at the first matching string. This also works
in Zen mode. Changing the sort order keeps the current result list.

After 30 minutes of inactivity, the saved search results expire. Weblate
refreshes the results when you continue and displays a notice. Saving still
applies to the string you were editing, subject to the usual checks for
conflicting changes. If that string no longer matches the filters, it is kept
at the start of the refreshed list so you can return to it.
If results expire while scrolling in Zen mode, save any pending edits and
select Refresh results to continue loading strings.

## Search query syntax

Advanced searches support boolean operations, parentheses, field-specific
lookup, field operators, exact match, date values, and regular expressions.
The available fields depend on what kind of object is being searched.
Queries can contain up to 2,048 characters and 128 search terms. Quoted text
counts as one term.

<a id="search-boolean"></a>

### Operatori booleeni

You can combine lookups using `AND`, `OR`, `NOT` and parentheses to
form complex queries. Boolean operators are case-insensitive, so `and`,
`And` and `AND` are equivalent.

The `NOT` operator has higher precedence than the `AND` operator; the
`AND` operator has higher precedence than the `OR` operator. You can add
parenthesis to define a precedence of your own.

Omitting the operator will make the query behave like the `AND` operator was
used.

#### Equivalent expressions

| `(state:translated AND source:hello) OR source:bar`   | Parenthesized expression to clearly show the precedence.         |
|-------------------------------------------------------|------------------------------------------------------------------|
| `state:translated AND source:hello OR source:bar`     | The `AND` operator has higher precedence than the `OR` operator. |
| `state:translated source:hello OR source:bar`         | Query using an implicit `AND` operator.                          |

<a id="search-operators"></a>

### Operatori de teren

Puteți specifica operatori, intervale sau căutări parțiale pentru căutări de date sau numerice:

`state:>=translated`
: Statul este `translated` sau mai bine (`approbat`).

`changed:[2019-03-01 to 2019-04-01]`
: Changed between two given dates (inclusive).

`position:[10 to 100]`
: Strings with position between 10 and 100 (inclusive).

<a id="date-search"></a>

### Searching for DATETIME fields

Timestamp searching supports multiple ways to specify the value. It supports
wide range of ways to specify date and time.

* ISO 8601 formatted like `2025-09-08T12:16:55.336146+00:00`.
* English written date and time like `July 4, 2013 PST`.
* English adverbs of time like `yesterday`, `last month`, and `2 days ago`.

Whenever only the date is specified, it is always used as inclusive and covers
that date. Specify the exact timestamp if you need to override this behavior.

Examples:

`changed:>=2019-03-01`
: Changed on 1st March 2019 and later (inclusive).

`changed:>="2 weeks ago"`
: Changed 2 weeks ago from the current date and time.

`changed:>=yesterday`
: Changed starting yesterday.

`changed:2019`
: Changed in the year 2019.

`changed:[2019-03-01 to 2019-04-01]`
: Changed between two given dates (inclusive).

`changed:[20_days_ago to yesterday]`
: Changed between two relative dates (inclusive).

### Operatori exacți

Puteți efectua o interogare cu potrivire exactă pe diferite câmpuri de șiruri de caractere folosind operatorul `=`. De exemplu, pentru a căuta toate șirurile sursă care se potrivesc exact cu `hello world`, utilizați: `source:="hello world"`. Pentru căutarea expresiilor cu un singur cuvânt, puteți sări peste ghilimele. De exemplu, pentru a căuta toate șirurile sursă care se potrivesc cu `hello`, puteți utiliza `source:=hello`.

### Expresii regulate

Oriunde este acceptat un text, puteți specifica și o expresie regulată ca `r "regexp"`.

De exemplu, pentru a căuta toate șirurile sursă care conțin orice cifră între 2 și 5, utilizați `source:r"[2-5]"`.

Search rejects regular expressions longer than 256 characters, nested more than
32 groups deep, or containing a counted repetition above 1,000.

#### HINT
The regular expressions are evaluated by the database backend and might use
different extensions, please consult the database documentation for
more details:

* [PostgreSQL Regular Expressions Details](https://www.postgresql.org/docs/current/functions-matching.html#POSIX-SYNTAX-DETAILS)

<a id="search-strings"></a>

## Searching for strings

String search supports the shared query syntax above.

Browsing and searching strings use the same list. Opening a scoped list without
query parameters shows all strings in that scope. The global search page shows
the search form until you submit it. Existing browse links redirect to search.

When searching a translation, a project language, or a category language, select
Translate to open the translation editor with the current query and
sorting. Project-language and category-language searches let you review matching
strings across components.

În cazul în care nu este definit niciun câmp, căutarea se face pe baza șirurilor sursă, țintă și context.

Select All strings at the top of the Filters menu to
clear the query within the current search scope. If the form does not submit
automatically, submit it to show all strings. Shared filters follow the order
and status colors used in the strings status overview.

![image](screenshots/search.webp)

### Căutare simplă

Any phrase typed into the search box is split into words. Strings containing all
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'`.

### Domenii

`source:TEXT`
: Căutare insensibilă la majuscule și minuscule a șirului sursă.

`target:TEXT`
: Căutare insensibilă la majuscule și minuscule a șirului țintă.

`context:TEXT`
: Căutare insensibilă la majuscule și minuscule a șirului contextual.

`key:TEXT`
: Căutare insensibilă la majuscule și minuscule a șirului de taste.

`note:TEXT`
: Căutare insensibilă la majuscule și minuscule în descrierea șirului sursă.

`location:TEXT`
: Căutare insensibilă la majuscule și minuscule a șirului de locație.

`priority:NUMBER`
: Șir de caractere prioritate.

`id:NUMBER`
: String unique identifier.

`position:NUMBER`
: String position in the translation file.

`added:DATETIME`
: Timestamp pentru momentul în care șirul a fost adăugat la Weblate.

`state:TEXT`
: Search for string states (`approved`, `translated`, `needs-editing`, `needs-rewriting`, `needs-checking`, `empty`, `read-only`).
  <br/>
  This field also supports [Operatori de teren](#search-operators), so searching for completed strings can be performed as `state:>=translated`, searching for strings needing translation as `state:<translated`.

`source_state:TEXT`
: Search for source string states, see above for more info.
  With a [custom source language](https://docs.weblate.org/ro/latest/workflows.md#workflow-source-language), this uses
  the parent translation’s state. Strings whose configured source is missing
  do not match a source state.

`pending:BOOLEAN`
: Șir în așteptare pentru a fi trimis în VCS.

`has:TEXT`
: Search for string having attributes - `plural`, `context`, `suggestion`, `comment`, `source-comment`, `check`, `dismissed-check`, `translation`, `variant`, `screenshot`, `flags`, `explanation`, `glossary`, `note`, `label`, `location`.

`is:TEXT`
: Filters string on a condition:
  <br/>
  `read-only` or `readonly`
  : Read-only strings, same as `state:read-only`.
  <br/>
  `approved`
  : Approved strings, same as `state:approved`.
  <br/>
  `needs-editing` or `fuzzy`
  : Needing editing/checking/rewriting strings, same as `state:needs-editing OR state:needs-rewriting OR state:needs-checking`.
  <br/>
  `translated`
  : Translated strings, same as `state:>translated`.
  <br/>
  `untranslated`
  : Untranslated strings, same as `state:<translated`.
  <br/>
  `pending`
  : Pending strings not yet committed to the file (see [Angajări leneșe](https://docs.weblate.org/ro/latest/admin/continuous.md#lazy-commit)).
  <br/>
  `automatically-translated`
  : Strings that were translated automatically (see [Traducere automată](https://docs.weblate.org/ro/latest/user/translating.md#auto-translation)).

`language:TEXT`
: Șir de caractere limba țintă.

`component:TEXT`
: Căutarea insensibilă la majuscule și minuscule a slug-ului sau a numelui componentei, a se vedea [Componenta slug](https://docs.weblate.org/ro/latest/admin/projects.md#component-slug) și [Nume componentă](https://docs.weblate.org/ro/latest/admin/projects.md#component-name).

`project:TEXT`
: Denumirea proiectului, a se vedea [Descriptor URL](https://docs.weblate.org/ro/latest/admin/projects.md#project-slug).

`path:TEXT`
: Path to the object to limit searching inside component, category, project, or translation.

`changed_by:TEXT`
: String was changed by author with given username.
  Use `changed_by:""` to search for strings with at least one content change without a recorded author.

`changed:DATETIME`
: String content was changed on date, supports [Operatori de teren](#search-operators) and [Searching for DATETIME fields](#date-search).

`change_time:DATETIME`
: String was changed on date, supports [Operatori de teren](#search-operators) and [Searching for DATETIME fields](#date-search).
  <br/>
  Unlike `changed` this includes event which don’t change content and you
  can apply custom action filtering using `change_action`.

`change_action:TEXT`
: Filtrează pe acțiunea de modificare, util împreună cu `change_time`. Acceptă numele în limba engleză al acțiunii de modificare, fie citat și cu spații, fie minuscul și spațiile înlocuite cu o cratimă. A se vedea [Căutarea de schimbări](#search-changes) pentru exemple.
  <br/>
  When combining `changed_by`, `changed`, `change_time`, and
  `change_action` filters, the filters apply to the same change event.

`source_changed:DATETIME`
: Source string was last changed on date, supports [Operatori de teren](#search-operators) and [Searching for DATETIME fields](#date-search).

`last_changed:DATETIME`
: The string was last changed on date, supports [Operatori de teren](#search-operators) and [Searching for DATETIME fields](#date-search).

`check:TEXT`
: Șirul are o verificare nereușită, a se vedea [Verificări și reparații](https://docs.weblate.org/ro/latest/user/checks.md) pentru identificatorii de verificare.

`dismissed_check:TEXT`
: Șirul a respins controlul respins, a se vedea [Verificări și reparații](https://docs.weblate.org/ro/latest/user/checks.md) pentru identificatorii de control.

`comment:TEXT`
: Search in unresolved user comments on the string.

`resolved_comment:TEXT`
: Căutați în comentariile rezolvate.

`comment_author:TEXT`
: Filtrați după autorul comentariului.

`source_comment:TEXT`
: Search in unresolved source string comments.

`resolved_source_comment:TEXT`
: Search in resolved source string comments.

`source_comment_author:TEXT`
: Filter by source string comment author.
  <br/>
  Source string comment filters match comments attached to the source string.
  When searching across languages, matching target strings sharing that source
  string can be included in the results.

`suggestion:TEXT`
: Căutați în sugestii.

`suggestion_author:TEXT`
: Filtrați după autorul sugestiei.

`explanation:TEXT`
: Căutați în explicații.

`label:TEXT`
: Căutați în etichete.

`screenshot:TEXT`
: Căutați în capturi de ecran.

`labels_count:NUMBER`
: Filter by count of labels

<a id="search-changes"></a>

### Căutarea de schimbări

#### Versionadded
Added in version 4.4.

Căutarea evenimentelor din istoric se poate face folosind operatorii `change_action` și `change_time`.

De exemplu, căutarea șirurilor marcate pentru editare în 2018 poate fi introdusă ca `change_time:2018 AND change_action:marked-for-edit` sau `change_time:2018 AND change_action: "Marked for edit"`.

### Interogări predefinite

Puteți selecta din interogările predefinite pe pagina de căutare, ceea ce vă permite să accesați rapid cele mai frecvente căutări:

![image](screenshots/query-dropdown.webp)

<a id="saved-searches"></a>

### Saved searches

#### Versionadded
Added in version 2026.11.

Frequently used queries can be saved and are then offered in the Filters menu next to the predefined queries.

To save the current query, choose Save search… at the bottom of the Filters menu.

Saved searches are available in two scopes:

Personal searches
: Offered only to you, in every search. Manage them in the Saved searches tab of your [Profil utilizator](https://docs.weblate.org/ro/latest/user/profile.md#user-profile).

Project searches
: Offered to everybody searching within the project, for example a filter for important strings. They are managed by users who can edit the project, in Manage › Saved searches, or through [`GET /api/projects/(string:project)/saved-searches/`](https://docs.weblate.org/ro/latest/api.md#get--api-projects-(string-project)-saved-searches-).

### Ordonarea rezultatelor

Există multe opțiuni pentru a comanda șirurile în funcție de nevoile dumneavoastră:

![image](screenshots/query-sort.webp)

<a id="search-screenshots"></a>

## Searching for screenshots

The screenshot listing in a component accepts advanced queries using boolean
operations, parentheses, or field specific lookup.

When no field is defined, the lookup happens on the screenshot name. Use
field-specific lookups to search repository paths, screenshot languages, or
assigned source strings.

### Screenshot fields

`name:TEXT`
: Screenshot name case-insensitive search.

`path:TEXT`
: Repository path to screenshot case-insensitive search.

`repository:TEXT`
: Repository path to screenshot case-insensitive search, same as
  `path:TEXT`.

`language:TEXT`
: Screenshot language code or language name case-insensitive search.

`string:TEXT`
: Assigned source string case-insensitive search.

`context:TEXT`
: Assigned source string context case-insensitive search.

`location:TEXT`
: Assigned source string location case-insensitive search.

`id:NUMBER`
: Screenshot unique identifier.

`timestamp:DATETIME`
: Timestamp for when the screenshot was added to Weblate.

`strings:NUMBER`
: Number of assigned source strings.

`has:TEXT`
: Search for screenshots having attributes:
  <br/>
  `string`
  : Screenshot assigned to at least one source string.
  <br/>
  `repository`
  : Screenshot with a repository path.
  <br/>
  `path`
  : Screenshot with a repository path, same as `repository`.

### Screenshot search examples

`login`
: Search for screenshots matching `login` in the screenshot name.

`name:login`
: Search for screenshots with `login` in the screenshot name.

`language:cs`
: Search for screenshots in languages matching `cs`.

`string:"Save changes"`
: Search for screenshots assigned to source strings matching
  `Save changes`.

`has:string`
: Search for screenshots assigned to at least one source string.

`NOT has:string`
: Search for screenshots not assigned to any source string.

`repository:fastlane`
: Search for screenshots with `fastlane` in the repository path.

`strings:>2`
: Search for screenshots assigned to more than two source strings.

`has:repository AND NOT has:string`
: Search for screenshots imported from the repository that still need source
  string assignment.

Screenshot search supports the same [Operatori booleeni](#search-boolean),
[Operatori de teren](#search-operators), [Searching for DATETIME fields](#date-search), exact match, and regular
expression syntax as string search.

<a id="search-users"></a>

## Searching for users

#### Versionadded
Added in version 4.18.

The user browsing has similar search abilities:

`username:TEXT`
: Search in usernames.

`full_name:TEXT`
: Search in full names.

`language:TEXT`
: User configured translation language (see [Limbi traduse](https://docs.weblate.org/ro/latest/user/profile.md#profile-translated-languages)).

`joined:DATETIME`
: Conținutul șirului a fost modificat la data, suportă [Operatori de teren](#search-operators).

`translates:TEXT`
: User has contributed to a given language.
  <br/>
  You might want to limit contribution time by `change_time`, for example `change_time:>"90 days ago"`.

`contributes:TEXT`
: User has contributed to a given project or component.
  <br/>
  You might want to limit contribution time by `change_time`, for example `change_time:>"90 days ago"`.

`change_time:DATETIME`
: Same as in [Searching for strings](#search-strings).

`change_action:TEXT`
: Same as in [Searching for strings](#search-strings).

The contribution, language, change time, and change action filters only match
history you are allowed to view.

Additional lookups are available in the [Interfața de gestionare](https://docs.weblate.org/ro/latest/admin/admin.md#management-interface):

`is:bot`
: Search for bots (used for project scoped tokens).

`is:active`
: Search for active users.

`email:TEXT`
: Search by e-mail.

`ip:TEXT`
: Search by audit log IP address.
