Vadīklu tulkošana dialogu redaktorā

Valodu rīkjosla Basic IDE dialogu redaktorā parāda vadīklas, ar kurām ieslēgt un pārvaldīt lokalizējamos dialogus.

By default, any dialog that you create only contains string resources for one language. You may want to create dialogs that automatically show localized strings according to the user's language settings.

Lai iespējotu lokalizējamus dialoglodziņus

  1. Basic IDE dialogu redaktorā atveriet Valoda rīkjoslu, izvēloties Skats - Rīkjoslas - Valoda.

    Ja tekošā bibliotēka jau satur lokalizējamo dialogu, Valoda rīkjosla tiek parādīta automātiski.

  2. Click the Manage Languages iconManage Language icon on the Language toolbar or on the Toolbox bar.

    You see the Manage User Interface Language dialog. The dialog manages languages for the current library. The name of the current library is shown on the title bar.

  3. Klikšķiniet Pievienot iekš dialoga, lai pievienotu valodas ierakstu.

    Šis solis ieslēdz visiem jaunajiem dialogiem spēju saturēt lokalizējamu virkņu resursus.

  4. Pirmo reizi, kad jūs klikšķināt Pievienot, jūs redzat Iestatīt noklusējuma lietotāja saskarnes valodu dialogu. Sekojošajās reizēs, kad jūs klikšķināt Pievienot, šim dialogam ir nosaukums Pievienot lietotāja saskarnes valodu.

    Jūs varat arī nomainīt noklusēto valodu Pārvaldīt lietotāja saskarnes valodu dialogā.

  5. Izvēlieties valodu.

    This adds string resources to contain the translated versions of all strings to the dialog properties. The set of dialog strings of the default language is copied to the new set of strings. Later, you can switch to the new language and then translate the strings.

  6. Aizvērt dialogu vai pievienot papildus valodas.

Lai rediģētu lokalizējamās vadīklas jūsu dialogā

Once you have added the resources for localizable strings in your dialogs, you can select the current language from the Current Language listbox on the Language toolbar.

  1. Pārslēgt Pašreizējā valoda sarakstlodziņu, lai attēlotu noklusēto valodu.

  2. Ievietojiet jebkādu skaitu vadīklu jūsu dialogā un ievadiet visas virknes, kuras jūs vēlaties.

  3. Atlasiet citu valodu Pašreizējā valoda sarakstlodziņā.

  4. Lietojot vadīklas īpašību dialogus, rediģējiet visas virknes uz citu valodu.

  5. Atkārtojiet visām valodām, kuras jūs pievienojāt.

The user of your dialog will see the strings of the user interface language of the user's version of LibreOffice, if you did provide strings in that language.

Ja neviena valoda neatbilst lietotāja versijai, lietotājs redzēs noklusētās valodas virknes.

If the user has an older version of LibreOffice that does not know localizable string resources for Basic dialogs, the user will see the default language strings.

Please support us!