# Polish

The [WebInterface](Web.md) can be shown in Polish (Polski): the login page and everything a user sees after logging in. This page says how to turn it on, how much is translated, what the common words are, and how to change a text.

## Turning it on

| To | Do |
|---|---|
| let people choose | show the language picker: [Languages](Prefs-WebInterface-Languages.md). Polish is in its list as **Polski**. |
| make it the language of the login page | choose **Polish** as the **Default language** there |
| make it the language after login for a user, a group or everybody | add the customization **Default WebInterface language** (`defaultWILanguage`) with the value `pl`: [Customizations: Language](Users-WebInterface-Customizations.md#language) |
| follow each person's browser | the customization **Detect language based on users settings** (`detectBrowserLanguage`): a browser set to Polish gets Polish |

The order in which these count is in [Languages](Web-Languages.md#which-language-somebody-gets).

## How much is translated

The pages of the user have 567 texts. 549 of them are in Polish.

The other 18 are the newest texts and are shown in English until a translation exists:

| Text shown in English | Where it appears |
|---|---|
| "Built" | the build of the pages, in the session card |
| "Please wait..." | the login page, while the robot check loads |
| "Define {command} in /WebInterface/custom.js and set the button value to javascript:{command}()" | a custom button that is not set up |
| "History" | Activity |
| "My activity" | the link to My Activity |
| "Subtitles" | the video player |
| "Invalid name: this item can't be used" | a name that cannot be used |
| the 11 messages of the document view, such as "This file is not text. Download it to view it." | [Viewing documents](Web-Documents.md) |

5 more texts read the same as in English, mostly words that Polish shares with English or names that are not translated, such as "CrushMFT".

Not translated, in any language: the admin pages, the names of your folders and files, and what your administrator typed: the names of buttons of their own, the questions of forms, header and footer, the texts of mails.

## The words

What the common controls are called. Useful when you help somebody over the phone who sees the page in Polish while you see it in English.

### Signing in

| English | Polish |
|---|---|
| Username | Nazwa użytkownika |
| Password | Hasło |
| Remember me | Zapamiętaj mnie |
| Login | Zaloguj się |
| Forgot Password? | Zapomniałeś hasła? |
| Reset Password | Zresetuj hasło |
| Change Password | Zmień hasło |
| Current Password | Obecne hasło |
| New Password | Nowe hasło |
| Confirm Password | Potwierdź hasło |
| Logout | Wyloguj |

### The list

| English | Polish |
|---|---|
| Home | Strona główna |
| Name | Nazwa |
| Size | Rozmiar |
| Last Modified | Ostatnia modyfikacja |
| Keywords | Słowa kluczowe |
| Filter | Filtruj |
| Select | Wybierz |
| Refresh | Odśwież |
| List | Lista |
| Small Grid | Mała siatka |
| Medium Grid | Średnia siatka |
| Large Grid | Duża siatka |
| Sort | Sortuj |
| Light Theme | Jasny motyw |
| Dark Theme | Ciemny motyw |

### Buttons and the right-click menu

| English | Polish |
|---|---|
| Create Folder | Utwórz folder |
| User Options | Opcje użytkownika |
| Search | Szukaj |
| Upload | Prześlij |
| Download | Pobierz |
| Zip Download | Pobierz jako ZIP |
| Advanced Download | Zaawansowane pobieranie |
| Share | Udostępnij |
| Manage Shares | Zarządzaj udziałami |
| Copy Link | Skopiuj link |
| Copy | Kopiuj |
| Cut | Wytnij |
| Paste | Wklej |
| Rename | Zmień nazwę |
| Delete | Usuń |
| Add To Basket | Dodaj do koszyka |
| Show Basket | Pokaż koszyk |
| QuickView | Szybki podgląd |
| Slideshow | Pokaz slajdów |
| Show History | Pokaż historię |
| Edit Keywords | Edytuj słowa kluczowe |

### Uploading and downloading

| English | Polish |
|---|---|
| Add files | Dodaj pliki |
| Files To Upload | Pliki do przesłania |
| Uploading | Przesyłanie |
| Upload Completed | Przesyłanie zakończone |
| Downloading | Pobieranie |
| Overwrite | Przepisać |
| Overwrite All | Zastąp wszystko |
| Resume | Wznawiać |
| Skip | Pomiń |
| Pause | Pauza |
| Cancel | Anuluj |
| Remaining | Pozostały |
| Speed | Prędkość |
| Failed | Przegrany |

### Sharing and searching

| English | Polish |
|---|---|
| Sharing Files | Udostępnianie plików |
| Share Method | Metoda udostępniania |
| Expires | Wygasa |
| Subject | Temat |
| Body | Treść |
| Send | Wyślij |
| Remaining Uses | Pozostałe użycia |
| Unlimited | Bez ograniczeń |
| Start Search | Rozpocznij wyszukiwanie |
| Exact | Dokładny |
| Bigger than | Większy niż |
| Smaller than | Mniejszy niż |
| Modified After | Zmodyfikowano po |
| Modified Before | Zmodyfikowano przed |

### Answers

| English | Polish |
|---|---|
| OK | OK |
| Yes | Tak |
| No | Nie |
| Save | Zapisz |
| Close | Zamknij |
| Submit | Prześlij |
| Confirm | Potwierdź |
| Warning | Ostrzeżenie |
| Access Denied | Odmowa dostępu |
| Login Failed | Logowanie nie powiodło się |

## Changing a text

A word that does not fit your organisation, or a text that is still in English, can be replaced without touching the server's own files. Put a file named `pl.js` into the folder `WebInterface/Files/localizations/custom/` of the server, with only the texts you change:

```js
export default {
  home: "Strona główna",
  addFiles: "Dodaj pliki",
  myActivity: "...",
};
```

Each line is the name of a text and its new wording. The names are those of the server's own file for the language, `WebInterface/Files/localizations/pl.js`: look a text up there by its present wording. Texts you do not list stay as they are.

People see the change the next time the page loads. The folder `custom` is yours: keep a copy of the file, and check after an update of the server that it is still there.

How this works for every language, and its limits: [Languages: your own wording](Web-Languages.md#your-own-wording).

## Not tried for this page

The numbers and the words were read from the server's language file for Polish. The pages were not gone through in Polish on a test server. A `custom` file was tried with German, not with Polish; the mechanism is the same for every language.
