Loading
Uniconta
  • Search
  • Uniconta
    • Functions
      • General ledger
      • Orders & Purchase
      • Inventory & Logistics
      • Project
      • Production
      • Dashboard
      • Business Rules
      • ODATA ikonCustomisation
      • See all →
    • Apps
      • Invoice App Create Invoices
      • Upload App Submit reciepts & expenses
      • Assistant App Project Management
      • Work App Time Tracking
      • Authenticator App Two-Factor Authentication
    • Integrations
      • Add-on Store
    • Download & Login
      • Download Uniconta
      • Web Login
  • Developers
    • Build & Integrate
      • Get API Key
      • Download for Developers
      • Documentation
    • Resources & Code
      • Samples
      • Add-on solutions and users
    • Partner Ecosystem
      • Become an integration partner
      • Partner Portal
  • Insights
    • News
      • Latest News
      • Release Notes
      • Customer Stories
    • Get started
      • Try Uniconta
      • Book a Demo
  • Contact
  • Get Uniconta
  • Contact us
  • Find a reseller
Free trial signup

Developers Unipedia

  • API
    • API
    • User defined fields
    • User defined tables
    • Saving a Session
    • Posting an Invoice
    • Post Invoice and get PDF
    • Localization
    • Attach physical voucher to entities
    • Server-Login User
    • How to find C# Property from Uniconta Label
    • Minimize network traffic and optimize speed
    • Export pictures from Uniconta
    • OIOUBL Document Mapping and Send (NemHandel)
  • Plugins
    • Plugins
    • Debug Uniconta Plugins
    • Refreshing UI with plugins
    • How to use Uniconta Plugin
    • Develop a user plugin
    • Business Rules – User Plugins
    • Event Handling
    • Global Script
    • How to capture menu events
    • How to open a form in Uniconta from Plugin
    • Open new content in a IContentPluginBase plugin
    • Adding plugin in a menu
    • How to add user parameter in plugin menu
    • How to create plugin with Devexpress Library
    • Synchronize Entity Support in form page
    • Develop a PageEventBase Plugin
    • Logging Exceptions on local machine
    • Create Custom Uniconta Pages From Github Code
    • Web frame integration
  • OData
    • CRUD operations in OData
    • ODATA REST API – Testing with Postman

Localization

January 30th, 2019 January 7th, 2021 < 1 minute
Print Friendly, PDF & Email

Uniconta uses Labels for Localization. The labels can be found in the Uniconta client under Tools -> Report Generator -> Labels.

Programmatically, when we wish to Localize or translate plugins or applications, we can use these labels using the Localization class from the Uniconta.ClientTools namespace.

// An initialized CrudAPI is required to use the Localization.lookup method.
var crud = new CrudAPI(ses, comp);
var da = Language.da;
var en = Language.en;
var de = Language.de;
var daDebtor = Localization.lookup("Debtor", da);
var enDebtor = Localization.lookup("Debtor", en);
var deDebtor = Localization.lookup("Debtor", de);

When calling the Localization method we pass a language variable. Language is an enum from the Uniconta.Common namespace.

In the example code above we translate the Label Debtor to Danish, English, and German.

New Labels

Are the current labels not sufficient for you Localization needs? Worry no more!

You can acquire a Localization variable of a specific language, such as Danish, and add your own labels to the Localization.

var loc = Localization.GetLocalization(Language.da);
loc.AddLabel("BestProgrammingLanguage", "C# Er det bedste programmeringssprog");

In the example above we are in need of a label for the best programming language in a Danish context.

When we call loc.lookup(“BestProgrammingLanguage”), we will get the Danish sentence telling us that C# is the best programing language.

Categories: API, Developers Unipedia
Home » Developers Unipedia » API » Localization

Get in touch with us

Uniconta

  • Uniconta
  • Modules
  • Downloads
  • Free trial signup
  • Subscription Terms
  • Privacy Policy
  • System Status

PARTNER

  • Resellers
  • For Developers
  • Uniconta API key application
  • Uniconta Partner info

Info

  • News
  • Updates
  • Customer cases
  • Video
  • IT Security
  • Backup procedure – global
  • About us

Support

  • Unipedia
  • API information
  • Contacts
© Uniconta  2026

facebook linkedin youtube

  • Visit a Country Site
    • Dansk
    • Uniconta GermanyDeutsch
    • Eesti
    • Uniconta GermanyÍslenska
    • Lietuva
    • Uniconta NetherlandsNederlands
    • Norsk
    • English