1. #1
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default Localization of Ext

    Localization of Ext


    In the latest rev under the experimental folder is ext-lang-en.js. This is an unfinished first pass at pulling in all the prototyped strings and config options in Ext that can be localized. I have to admit, I got side-tracked and didn't make it very far.

    If anyone has already went through and put together a full list (or wants to , please let me know. We are planning on having some preconfigured i18n files in the 1.0 distribution and any help with this would be very much appreciated!

  2. #2
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    i don't mind helping with japanese. just let me know what to do (like, how should i go about saving asian characters in a text file?).

  3. #3
    Ext User rodiniz's Avatar
    Join Date
    Mar 2007
    Location
    Rio de Janeiro, Brazil
    Posts
    276
    Vote Rating
    0
    rodiniz is on a distinguished road

      0  

    Default


    I dont know where are other messages, if any
    I have just sent you pt-br localization.

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    5
    Vote Rating
    0
    tabo is on a distinguished road

      0  

    Default


    Here is a (utf-8 encoded) spanish translation: http://static.tabo.aureal.com.pe/pub/tmp/ext-lang-es.js

  5. #5
    Ext User mdelanno's Avatar
    Join Date
    Mar 2007
    Location
    France
    Posts
    71
    Vote Rating
    0
    mdelanno is on a distinguished road

      0  

    Default


    Here is a french version. I've added the grid header context menu and the comboBox loading text.

    Version 2: Added Ext.form.datePicker.format = 'd/m/y'
    Version 1: First version

    Code:
    /*
     * Ext - JS Library 1.0 Alpha 3 - Rev 4
     * Copyright(c) 2006-2007, Jack Slocum.
     * Translated by Maxence Delannoy
     * http://www.extjs.com/license.txt
     */
    
    Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Chargement en cours...</div>';
    
    Date.monthNames =
       ["Janvier",
        "Février",
        "Mars",
        "Avril",
        "Mai",
        "Juin",
        "Juillet",
        "Août",
        "Septembre",
        "Octobre",
        "Novembre",
        "Décembre"];
    
    Date.dayNames =
       ["Dimanche",
        "Lundi",
        "Mardi",
        "Mercredi",
        "Jeudi",
        "Vendredi",
        "Samedi"];
        
    Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText: "Tri ascendant",
      sortDescText: "Tri descendant",
      lockText: "Figer la colonne",
      unlockText: "Libérer la colonne",
      columnsText: "Colonnes"
    });
    
    Ext.apply(Ext.DatePicker.prototype, {
        todayText : "Aujourd'hui",
        todayTip : "{0} (barre espace)",
        minText : "Cette date se situe avant la date minimum.",
        maxText : "Cette date se situe après la date maximum.",
        format : "d/m/y",
        disabledDaysText : "",
        disabledDatesText : "",
        monthNames : Date.monthNames,
        dayNames : Date.dayNames,
        nextText: "Mois suivant (Ctrl + Droite)",
        prevText: "Mois précédent (Ctrl + Gauche)",
        monthYearText: "Choisissez un mois (Ctrl + Haut/bas pour changer d'année)",
        startDay: 1 // Week start on Monday
    });
    
    Ext.apply(Ext.form.DateField.prototype, {
        format: "d/m/y"
    });
    
    Ext.MessageBox.buttonText = {
        ok : "OK",
        cancel : "Annuler",
        yes : "Oui",
        no : "Non"
    };
    
    Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Page",
        afterPageText : "sur {0}",
        firstText : "1ère page",
        prevText : "Page précédente",
        nextText : "Page suivante",
        lastText : "Dernière page",
        refreshText : "Actualiser"
    });
    
    Ext.TabPanelItem.prototype.closeText = "Fermer cet onglet";
    
    Ext.apply(Ext.form.ComboBox.prototype, {
        loadingText: "Chargement..."
    });

  6. #6
    Ext User mdelanno's Avatar
    Join Date
    Mar 2007
    Location
    France
    Posts
    71
    Vote Rating
    0
    mdelanno is on a distinguished road

      0  

    Default DatePicker startday

    DatePicker startday


    Don't forget to set the start day for the week. For example, in France the week start on Monday, so we need to set Ext.DatePicker.prototype.startDay to 1.

  7. #7
    Ext User
    Join Date
    Mar 2007
    Posts
    140
    Vote Rating
    0
    Belgabor is on a distinguished road

      0  

    Default


    German (de_DE):
    (official first day of the week is Monday/Montag as far as I know)

    Code:
    /*
     * Ext - JS Library 1.0 Alpha 3 - Rev 4
     * Copyright(c) 2006-2007, Jack Slocum.
     * 
     * http://www.extjs.com/license.txt
     */
    
    
    Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Wird geladen...</div>';
    
    Date.monthNames =
       ["Januar",
        "Februar",
        "März",
        "April",
        "Mai",
        "Juni",
        "Juli",
        "August",
        "September",
        "Oktober",
        "November",
        "Dezember"];
    
    Date.dayNames =
       ["Sonntag",
        "Montag",
        "Dienstag",
        "Mittwoch",
        "Donnerstag",
        "Freitag",
        "Samstag"];
    
    Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText: "Aufsteigend ordnen",
      sortDescText: "Absteigend ordnen",
      lockText: "Spalte sperren",
      unlockText: "Spalte entsperren",
      columnsText: "Spalte"
    });
    
    Ext.apply(Ext.DatePicker.prototype, {
        todayText : "Heute",
        todayTip : "{0} (Leertaste)",
        minText : "Dieses Datum ist vor dem Minimaldatum",
        maxText : "Dieses Datum ist nach dem Maximaldatum",
        format : "d.m.y",
        disabledDaysText : "",
        disabledDatesText : "",
        monthNames : Date.monthNames,
        dayNames : Date.dayNames,
        nextText: 'Nächster Monat (Steuerung+Rechts)',
        prevText: 'Vorheriger Monat (Steuerung+Links)',
        monthYearText: 'Monat auswählen (Steuerung+Hoch/Runter zur Jahresauswahl)',
        startDay: 1 // Week start on Monday 
    });
    
    Ext.MessageBox.buttonText = {
        ok : "OK",
        cancel : "Abbrechen",
        yes : "Ja",
        no : "Nein"
    };
    
    Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Seite",
        afterPageText : "von {0}",
        firstText : "Erste Seite",
        prevText : "Vorherige Seite",
        nextText : "Nächste Seite",
        lastText : "Letzte Seite",
        refreshText : "Aktualisieren"
    });
    
    Ext.TabPanelItem.prototype.closeText = "Karteireiter schließen";
    Edit: Added grid stuff and startDay.

  8. #8
    Ext User
    Join Date
    Mar 2007
    Posts
    9
    Vote Rating
    0
    fponticelli is on a distinguished road

      0  

    Default


    Here comes Italian.

    Code:
    /*
     * Ext - JS Library 1.0 Alpha 3 - Rev 4
     * Copyright(c) 2006-2007, Jack Slocum.
     * Translated by Maxence Delannoy
     * http://www.extjs.com/license.txt
     */
    
    Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Caricamento in corso...</div>';
    
    Date.monthNames =
       ["gennaio",
        "febbraio",
        "marzo",
        "aprile",
        "maggio",
        "giugno",
        "luglio",
        "agosto",
        "settembre",
        "ottobre",
        "novembre",
        "dicembre"];
    
    Date.dayNames =
       ["domenica",
        "lunedì",
        "martedì",
        "mercoledì",
        "giovedì",
        "venerdì",
        "sabato"];
        
    Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText: "Ordinamento crescente",
      sortDescText: "Ordinamento decrescente",
      lockText: "Bloccare la colonna",
      unlockText: "Sbloccare la colonna",
      columnsText: "Colonne"
    });
    
    Ext.apply(Ext.DatePicker.prototype, {
        todayText : "Oggi",
        todayTip : "{0} (barra spaziatrice)",
        minText : "Questa data è precedente alla data minima.",
        maxText : "Questa data è successiva alla data massima.",
        format : "d/m/y",
        disabledDaysText : "",
        disabledDatesText : "",
        monthNames : Date.monthNames,
        dayNames : Date.dayNames,
        nextText: "Mese successivo (Ctrl + Destra)",
        prevText: "Mese precedente (Ctrl + Sinistra)",
        monthYearText: "Selezionare un mese (Ctrl + Sù/Giù per cambiare anno)",
        startDay: 1 // Week start on Monday
    });
    
    Ext.MessageBox.buttonText = {
        ok : "OK",
        cancel : "Annullare",
        yes : "Sì",
        no : "No"
    };
    
    Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Pagina",
        afterPageText : "di {0}",
        firstText : "Prima pagina",
        prevText : "Pagina precedente",
        nextText : "Pagina successiva",
        lastText : "Ultima pagina",
        refreshText : "Aggiorna"
    });
    
    Ext.TabPanelItem.prototype.closeText = "Chiudere questa scheda";
    
    Ext.apply(Ext.form.ComboBox.prototype, {
        loadingText: "Caricamento in corso..."
    });

  9. #9
    Sencha User Arikon's Avatar
    Join Date
    Mar 2007
    Posts
    76
    Vote Rating
    0
    Arikon is on a distinguished road

      0  

    Default


    Russian in UTF-8 encoding
    Code:
    /*
     * Ext - JS Library 1.0 Alpha 3 - Rev 4
     * Copyright(c) 2006-2007, Jack Slocum.
     * 
     * http://www.extjs.com/license.txt
     */
    
    Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Идет загрузка...</div>';
    
    Date.monthNames =
       ["Январь",
        "Февраль",
        "Март",
        "Апрель",
        "Май",
        "Июнь",
        "Июль",
        "Август",
        "Сентябрь",
        "Октябрь",
        "Ноябрь",
        "Декабрь"];
    
    Date.dayNames =
       ["Воскресенье",
        "Понедельник",
        "Вторник",
        "Среда",
        "Четверг",
        "Пятница",
        "Суббота"];
    
    Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText: "Сортировать по возрастанию",
      sortDescText: "Сортировать по убыванию",
      lockText: "Заблокировать столбец",
      unlockText: "Разблокировать столбец",
      columnsText: "Столбцы"
    });
    
    Ext.apply(Ext.DatePicker.prototype, {
        todayText : "Сегодня",
        todayTip : "{0} (Пробел)",
        minText : "Эта дата раньше минимальной разрешенной даты",
        maxText : "Эта дата позже максимальной разрешенной даты",
        format : "d.m.y",
        disabledDaysText : "",
        disabledDatesText : "",
        monthNames : Date.monthNames,
        dayNames : Date.dayNames,
        nextText: 'Следующий месяц (Control+Вправо)',
        prevText: 'Предыдущий месяц (Control+Влево)',
        monthYearText: 'Выбрать месяц (Control+Вверх/Вниз для выбора года)',
        startDay: 1 // Week start on Monday
    });
    
    Ext.MessageBox.buttonText = {
        ok : "OK",
        cancel : "Отмена",
        yes : "Да",
        no : "Нет"
    };
    
    Ext.apply(Ext.PagingToolbar.prototype, {
        beforePageText : "Страница",
        afterPageText : "из {0}",
        firstText : "Первая страница",
        prevText : "Предыдущая страница",
        nextText : "Следующая страница",
        lastText : "Последняя страница",
        refreshText : "Обновить"
    });
    
    Ext.TabPanelItem.prototype.closeText = "Закрыть вкладку";
    
    Ext.apply(Ext.form.ComboBox.prototype, {
        loadingText: "Загрузка..."
    });
    Say, if you'll have troubles with encoding, I'll put file to http server.

  10. #10
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    This is awesome guys! Great to see translations coming in so quickly.

    Jack, you might consider versioning the filenames somehow, as the English file will inevitably get ahead of the others as you add new features, and as translators come and go, some versions may lag behind others. It will make maintenance easier if there's a simple way for people to see which files need updating after releases. Great work everyone!

    Brian

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar