SDL Passolo 2009 to 2018 Migration Guide SDL Passolo 2018
Total Page:16
File Type:pdf, Size:1020Kb
SDL Passolo 2009 to 2018 Migration Guide SDL Passolo 2018 March 2018 SDL Passolo 2009 to 2018 Migration Guide SDL Passolo 2018 March 2018 ii SDL Passolo 2009 to 2018 Migration Guide A Legal notice 0 Legal notice Copyright and trademark information relating to this product release. Copyright © 2000–2018 SDL Group. SDL Group means SDL PLC. and its subsidiaries and affiliates. All intellectual property rights contained herein are the sole and exclusive rights of SDL Group. All references to SDL or SDL Group shall mean SDL PLC. and its subsidiaries and affiliates details of which can be obtained upon written request. All rights reserved. Unless explicitly stated otherwise, all intellectual property rights including those in copyright in the content of this website and documentation are owned by or controlled for these purposes by SDL Group. Except as otherwise expressly permitted hereunder or in accordance with copyright legislation, the content of this site, and/or the documentation may not be copied, reproduced, republished, downloaded, posted, broadcast or transmitted in any way without the express written permission of SDL. Passolo is a registered trademark of SDL Group. All other trademarks are the property of their respective owners. The names of other companies and products mentioned herein may be the trademarks of their respective owners. Unless stated to the contrary, no association with any other company or product is intended or should be inferred. This product may include open source or similar third-party software, details of which can be found by clicking the following link: Acknowledgments on page 0 . Although SDL Group takes all reasonable measures to provide accurate and comprehensive information about the product, this information is provided as-is and all warranties, conditions or other terms concerning the documentation whether express or implied by statute, common law or otherwise (including those relating to satisfactory quality and fitness for purposes) are excluded to the extent permitted by law. To the maximum extent permitted by law, SDL Group shall not be liable in contract, tort (including negligence or breach of statutory duty) or otherwise for any loss, injury, claim liability or damage of any kind or arising out of, or in connection with, the use or performance of the Software Documentation even if such losses and/or damages were foreseen, foreseeable or known, for: (a) loss of, damage to or corruption of data, (b) economic loss, (c) loss of actual or anticipated profits, (d) loss of business revenue, (e) loss of anticipated savings, (f) loss of business, (g) loss of opportunity, (h) loss of goodwill, or (i) any indirect, special, incidental or consequential loss or damage howsoever caused. All Third Party Software is licensed "as is." Licensor makes no warranties, express, implied, statutory or otherwise with respect to the Third Party Software, and expressly disclaims all implied warranties of non-infringement, merchantability and fitness for a particular purpose. In no event will Licensor be liable for any damages, including loss of data, lost profits, cost of cover or other special, incidental, consequential, direct, actual, general or indirect damages arising from the use of the Third Party Software or accompanying materials, however caused and on any theory of liability.This limitation will apply even if Licensor has been advised of the possibility of such damage. The parties acknowledge that this is a reasonable allocation of risk. Information in this documentation, including any URL and other Internet Web site references, is subject to change without notice. Without limiting the rights under copyright, no part of this may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of SDL Group. 4 SDL Passolo 2009 to 2018 Migration Guide Contents 1 Legal notice ............................................. 3 2 About software localization with SDL Passolo ........................ 1 3 Binary or ResX Localization .................................... 3 4 Migrating SDL Passolo 2009 to SDL Passolo 2011 and Passolo 2011 to Passolo 2016 ............................................. 5 Loosing Translations after Update in Project with Resx Files . 6 Handling of Menus and Context Menus . 6 String Flagged as Un-translated . 6 Recovering the Translations . 10 5 Migrating from Passolo 2015/Passolo 2016 to Passolo 2018 ................9 Deleted strings after Update in Project . 10 Recovering the Translations . 10 Quick Access Toolbar settings . 10 Opening translation bundles with Passolo 2018 . 11 Working with translation bundles using Passolo 2018 . 11 Working with bundles using Team Edition . 12 6 Acknowledgments ........................................ 13 SDL Passolo 2009 to 2018 Migration Guide v vi SDL Passolo 2009 to 2018 Migration Guide 1 About software localization with SDL Passolo 1 About software localization with SDL Passolo Localization of .NET software adds a new level of complexity to localization projects. This is a challenge for the localization teams as well as for tool developers who want to offer the best possible support for .NET localization. Find in this guide what are the changes that affect .NET localization projects in Passolo 2018. This document describes concepts of .NET localization in general and the challenges for localizers as well as us as tool developers. We also address in this document changes between the old .NET parser and the new one. Some of these changes will impact the localization workflow when migrating from older versions to SDL Passolo 2018. 2 SDL Passolo 2009 to 2018 Migration Guide 2 Binary or ResX Localization 2 Binary or ResX Localization Passolo supports both the localization of ResX files and the localization of assemblies, but it is always recommended to localize assemblies. While localizing .resx files containing string tables is not critical, localization of res files containing WinForms can be less safe than using the binary approach. The main reasons are: • Quite often WinForms are part of a larger application and depend through inheritance on other WinForms they are derived from. Binary localization is the only possibility to track down these dependencies. • ResX files contain all data which must be localized but not all structural information needed to render a WinForm. This is true for all but very simple Winform layouts. Again the information is available in the compiled assembly and Passolo can use this information to provide significantly better rendering results in the visual editor. Both inheritance and lack of structural information makes it impossible for a localization tool to determine the correct layout. Passolo must guess how the data stored in the .resx file should be treated and in the worst case might shows an incorrect layout and might even mix up the layout in the target file. 4 SDL Passolo 2009 to 2018 Migration Guide 3 Migrating SDL Passolo 2009 to SDL Passolo 2011 and Passolo 2011 to Passolo 2016 3 Migrating SDL Passolo 2009 to SDL Passolo 2011 and Passolo 2011 to Passolo 2016 The .NET parser of SDL Passolo 2011 is a complete re-development.The new design reflects what wehave learned about .NET localization over thepast ten years.We tried tominimizethe impact tocustomer moving thenew parser but we also had to make some designdecisionswhich impacts themigration from SDL Passolo 2009 to SDL Passolo 2011. Loosing Translations after Update in Project with Resx Files The disadvantage was that every time the file was renamed, the translation got lost and moved to the Recycle Bin folder because the resource id changed. Because a string table based on a resx file can contain only one Winform or string table we decided to use the static name SingleResourceFile always. This change now leads to a loss of translations because the resource id will be changed. The advantage is that further changes of the resx file name do not impact the string list content anymore. The old .NET parser was not always able to associate strings to controls. Mainly strings related to base forms and string used to initialize list boxes or similar controls have been affected. Those strings have been externalized in a string table resource. It also happened that strings ended up being stored both in the Winform resource and the string table resource unfortunately. In the new parser such dangling strings are added to the Winform resource always, so that there will be no string table data anymore. The strings of the string table along with the translations will be moved to Recycle Bin. Handling of Menus and Context Menus SDL Passolo 2009 did not support sub resources which allows for example to locate menus below the Winform resource. With the introduction of sub resources in SDL Passolo 2011 we decided to move menus of Winforms from the global menu resources to sub resources of the Winform resources. This leads to a loss of translations which are kept in Recycle Bin and new strings in the sub resources. String Flagged as Un-translated In SDL Passolo 2009 strings of controls containing newlines have been stored in the native format which is \r\n. Passolo internally only used \n to encode a newline. To simplify editing those strings, they are now converted to Passolo internal format when parsing and back to the native when generating the target file. When updating a string list with newlines after migration, the internal representation of such string has changed and they are marked as un-translated. It is recommended to verify the translations and remove the unnecessary \r escape sequences. 6 SDL Passolo 2009 to 2018 Migration Guide Migrating SDL Passolo 2009 to SDL Passolo 2011 and Passolo 2011 to Passolo 2016 3 Recovering the Translations SDL Passolo offers two functions to recover translations that might get lost during the migration. You can use the leverage function to re-assign translations from a copy of the project.