# Hungarian

The [WebInterface](Web.md) can be shown in Hungarian (Magyar): 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). Hungarian is in its list as **Magyar**. |
| make it the language of the login page | choose **Hungarian** 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 `hu`: [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 Hungarian gets Hungarian |

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. 560 of them are in Hungarian.

The other 7 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 |

4 more texts read the same as in English, mostly words that Hungarian 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 Hungarian while you see it in English.

### Signing in

| English | Hungarian |
|---|---|
| Username | Felhasználónév |
| Password | Jelszó |
| Remember me | Emlékezz rám |
| Login | Bejelentkezés |
| Forgot Password? | Elfelejtett jelszó? |
| Reset Password | Jelszó visszaállítása |
| Change Password | Jelszó megváltoztatása |
| Current Password | Jelenlegi jelszó |
| New Password | Új jelszó |
| Confirm Password | Jelszó megerősítése |
| Logout | Kijelentkezés |

### The list

| English | Hungarian |
|---|---|
| Home | Kezdőlap |
| Name | Név |
| Size | Méret |
| Last Modified | Utoljára módosítva |
| Keywords | Kulcsszavak |
| Filter | Szűrés |
| Select | Kiválasztás |
| Refresh | Frissítés |
| List | Lista |
| Small Grid | Kis rács |
| Medium Grid | Közepes rács |
| Large Grid | Nagy rács |
| Sort | Rendezés |
| Light Theme | Világos Téma |
| Dark Theme | Sötét Téma |

### Buttons and the right-click menu

| English | Hungarian |
|---|---|
| Create Folder | Mappa létrehozása |
| User Options | Felhasználói beállítások |
| Search | Keresés |
| Upload | Feltöltés |
| Download | Letöltés |
| Zip Download | Tömörített letöltés |
| Advanced Download | Haladó letöltés |
| Share | Megosztás |
| Manage Shares | Megosztások kezelése |
| Copy Link | Link másolása |
| Copy | Másolás |
| Cut | Kivágás |
| Paste | Beillesztés |
| Rename | Átnevezés |
| Delete | Törlés |
| Add To Basket | Kosárba helyezés |
| Show Basket | Kosár megjelenítése |
| QuickView | Gyors nézet |
| Slideshow | Diavetítés |
| Show History | Előzmények megjelenítése |
| Edit Keywords | Kulcsszavak szerkesztése |

### Uploading and downloading

| English | Hungarian |
|---|---|
| Add files | Fájlok hozzáadása |
| Files To Upload | Feltöltendő fájlok |
| Uploading | Feltöltés |
| Upload Completed | Feltöltés kész |
| Downloading | Letöltés |
| Overwrite | Átír |
| Overwrite All | Összes felülírása |
| Resume | Önéletrajz |
| Skip | Kihagyás |
| Pause | Szünet |
| Cancel | Mégse |
| Remaining | Többi |
| Speed | Sebesség |
| Failed | nem sikerült |

### Sharing and searching

| English | Hungarian |
|---|---|
| Sharing Files | Fájlok megosztása |
| Share Method | Megosztás módja |
| Expires | Lejár |
| Subject | Tárgy |
| Body | Tartalom |
| Send | Küldés |
| Remaining Uses | Hátralévő felhasználások |
| Unlimited | Korlátlan |
| Start Search | Keresés indítása |
| Exact | Pontos |
| Bigger than | Nagyobb, mint |
| Smaller than | Kisebb, mint |
| Modified After | Módosítva később, mint |
| Modified Before | Módosítva korábban, mint |

### Answers

| English | Hungarian |
|---|---|
| OK | OK |
| Yes | Igen |
| No | Nem |
| Save | Mentés |
| Close | Bezárás |
| Submit | Küldés |
| Confirm | Megerősít |
| Warning | Figyelmeztetés |
| Access Denied | Hozzáférés megtagadva |
| Login Failed | Bejelentkezés sikertelen |

## 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 `hu.js` into the folder `WebInterface/Files/localizations/custom/` of the server, with only the texts you change:

```js
export default {
  home: "Kezdőlap",
  addFiles: "Fájlok hozzáadása",
  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/hu.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 Hungarian. The pages were not gone through in Hungarian on a test server. A `custom` file was tried with German, not with Hungarian; the mechanism is the same for every language.
