# Translate (.$)

If you would like to translate a mentioned taxonomy option of an `information` when it is being printed on a document, simply refer to it using `.$` instead of `.`.

### Example: Simple

To print "CITY, COUNTRY" of an entity in the request language on a document a calculated `information` with the following [RuLa](/rule-language/what-is-the-rule-language.md) expression is created:

```
e is Entity
e.city + ", " + e.$country
```

The first part, `e.city`, prints the city of the entity as usual. The second part, `e.$country`, though references the country in a way that the name of the country is translated into the requested language when the document is created. So when a user requests the document in german, this would print e.g. `Berlin, Deutschland`, when requested in English `Berlin, Germany`.

### Example: Creating an Address

The following expression would put a printable address into a calculated `information`:

```
p is Person
JOIN(
    [
        p.street_and_number,
        p.postal_code + ' ' + p.city,
        p.$domicile
    ], 
    '\n'
)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atfinity.io/rule-language/operators/special-operators/translate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
