on 03-07-2008 3:34 PM
Hi,
How can I achieve internationalization in VC?
Many thanks,
Dharmi
Hi Dharmi
Visual Composer supports internationalization through standard translation files which are generated on compilation of models.
Regards,
Shai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can find some information about the 7.1 translation process here (an explanation of what is automatically added to the translation file and what you need to explicitly add to the file): http://help.sap.com/saphelp_nwce10/helpdata/en/6c/38d36941d140aeb8095ca07e3294a8/frameset.htm
There is currently no tool available for translating the translation files - you need to perform several manual steps which are described in the SAP note that is referenced at the end of the topic linked above (Note 939180)
Nicole
Hi Shai,
Thank you for replying.
I could not find the XLF file on the server, where should it be located? However, I did find the XML files (those have the same names as the folder in my source code), should I place the language-specific XLF's there? I would not like the model to break....
I tried to place the Search_nl.xlf, where the XML files are present (in other test model) and compiler doesn't find it (atleast I do not see it in the source)
Best regards,
Dharmi
@Nicole,
Congratulations. Be ready to get all the love from your daughter and "mama", "mama" all the time.
Regards,
Dharmi
Hi Dharmi
VC models are created with MasterLanguage.xlf file which represent the original language of the created model.
VC compiler traverses through the model folder and collect all its *.xlf files, if you will place your new *.xlf files within the model folder (where the Master Language .xlf file is located) it is guarantee that the compiler will collect them during the build process.
In order to upload your XLF files to the folder you need to use the Configuration Tool of the J2EE:
1. Go to \usr\sap\*\*\j2ee\configtool and run the configtool.bat
2. Press on the right most button (tooltip says Switch to configuration editor mode. It has a pencil and a yellow and blue boxes in its icon) to switch to configuration editor mode.
3. In the Display configuration tab chose the following route: developmentserver->ClientWorspaces-> Your User Name -> sap.com._UWSoftwareComponent
(see [screen shot 1|http://img88.imageshack.us/img88/40/translation1ub9.png])
4. In the opened list look for your DC name with the suffix _impl and open it by clicking the plus sign on the left.
5. In the opened list look for your model. This is a bit tedious: The folders have GUIDs fpr names, but in each folder you will have .properties file which will help you identify your model name. Open the properties file and look up the name, it appears in the com.sap.custom.display-name entry.
(see [screen shot 2|http://img149.imageshack.us/img149/2349/translation2ch3.png])
6. Now when you have located your models folder, switch to edit mode by pressing the most left icon in the tab header (it has an icon of a pencil and glasses). A warning message box will appear. Confirm it.
7. Right click on the models folder and choose the import from the context menu.
8. Select your XLF file using as the source file name. make sure import content directly into the selected configuration is selected. Click Start import
9. Upload your files and retrigger the deploy button within VC.
You can use the configuration tool to manage your xlf files in general (add, remove).
I hope this helps,
Shai
Hi Shai,
Thank you very much for the detailed explanation. However the import fails:
Start importing into configuration developmentserver/ClientWorkspaces/dharmi.tanna/sap.com_SoftwareComponent/sap0x2ecom0x2ftemp0x2fsms_impl/temp.7d230a01ee8d11dc9d76000ffe725ec2, importMode: IMPORT_CONTENT...
Importing ...
Exception occurred during import:
com.sap.engine.frame.core.configuration.ConfigurationException: Error occurred during import/export: File contents.xml not found in import archive.
at com.sap.engine.core.configuration.impl.utilities.transfer.ConfigImporter.importConfig(ConfigImporter.java:98)
at com.sap.engine.core.configuration.impl.WriteAccessConfiguration.importContent(WriteAccessConfiguration.java:1449)
at com.sap.engine.core.configuration.impl.WriteAccessConfiguration.importContent(WriteAccessConfiguration.java:1442)
at com.sap.engine.services.configuration.gui.AbstractConfigurationTreeNode.importConfig(AbstractConfigurationTreeNode.java:519)
at com.sap.engine.services.configuration.gui.ImportPanel$ImporterThread.run(ImportPanel.java:246)
at java.lang.Thread.run(Thread.java:606)
Import failed.
Am I doing something wrong? I followed you till step 7 and on 8th step I select Contact_nl.xlf and make sure import content directly into the selected configuration is selected. Click Start import
but then I get the error.
Help....
Regards,
Dharmi
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.