示例#1
0
        /// <summary>
        /// Localize the specified key
        /// </summary>
        /// <param name="key">Key.</param>
        /// <param name="comment">Comment.</param>
        public static string Localize(string key, string comment)
        {
            //Debug.WriteLine("Localize " + key);
            string result = TranslationTables.Translate(key);

            return(result);
        }
示例#2
0
        public App()
        {
            InitializeComponent();

            // Setup the IoC Container
            this.SetupIoC();

            // Init static localization table
            TranslationTables.InitStaticValues();

            // Show start page
            SetupPages(0);
        }