[CLOSED] Localization

  1. #1

    [CLOSED] Localization

    Hi,

    Like your example https://examples2.ext.net/#/DragDrop...ws_Reordering/ I added row reordering in my MVC application.
    The only difference is that I have not define DragDropText in the plugin because isn't necesary.

    I have my application in culture es-ES, but when I reorder rows I see "1 selected row" instead of "1 fila(s) seleccionada(s)" that is the text I see in v1.x when I implemented row reordering.

    I think that ext-lang-es.js file doesn't implement this text and it could affect more cultures.

    This is my View inside GridPanel
    <View>
                                        <ext:GridView runat="server" TrackOver="true" StripeRows="true" LoadingUseMsg="false" LoadMask="false">
                                            <Plugins>
                                                <ext:GridDragDrop runat="server" DDGroup="ddVirtuales" />
                                            </Plugins>
                                        </ext:GridView>
                                    </View>
    Last edited by Daniil; Sep 21, 2012 at 11:01 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Confirm, thanks for the report.
    http://www.sencha.com/forum/showthread.php?232858

    Please use this fix for now.

    Fix
    <script type="text/javascript">
        Ext.grid.plugin.DragDrop.override({
            onViewRender : function(view) {
                var me = this;
    
                if (me.enableDrag) {
                    me.dragZone = new Ext.view.DragZone({
                        view: view,
                        ddGroup: me.dragGroup || me.ddGroup,
                        dragText: view.panel.ddText
                    });
                }
    
                if (me.enableDrop) {
                    me.dropZone = new Ext.grid.ViewDropZone({
                        view: view,
                        ddGroup: me.dropGroup || me.ddGroup
                    });
                }
            }
        });
    </script>
  3. #3
    Ok thanks for report to Sencha
  4. #4
    They have already opened a bug.
  5. #5
    Fixed with Ext.JS 4.1.2 (tested in Ext.NET rev 4363 with es-ES culture)
  6. #6
    Thank you for confirming!

Similar Threads

  1. Localization Issue
    By talha in forum 1.x Help
    Replies: 3
    Last Post: Jul 03, 2012, 6:56 AM
  2. [CLOSED] Ext.NET + MVC 3 + Localization
    By jlosi in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 18, 2011, 8:20 PM
  3. Localization
    By ahmadezzeir in forum 1.x Help
    Replies: 13
    Last Post: Dec 21, 2010, 10:19 AM
  4. Localization and Skining
    By Dominik in forum 1.x Help
    Replies: 0
    Last Post: Mar 18, 2010, 11:19 AM
  5. Localization question
    By haltenberg in forum 1.x Help
    Replies: 5
    Last Post: Feb 27, 2009, 8:27 AM

Tags for this Thread

Posting Permissions