Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

translate message in message class in spanish

former_member5472
Active Contributor
0 Kudos

hi,

i want to translate mesaages in message class in spanish from english. i have to do it manually one by one using 'translate' in se91..

is there any way by which all my messages get translated dynamically as per log-on language?

5 REPLIES 5

Former Member
0 Kudos

Hello Pratyush,

It is not possible to get like that. You should translate it. But, while translating the messages you will get some default target language text which are 90% suits to the original language texts. But for remaining you have to enter target language text manually and confirm the translation. If you want to change the proposal you have click on the button Change proposal.

Reward If Helpdul.

Regards

--

Sasidhar Reddy Matli.

0 Kudos

hi,

right now i'm manually converting my text messages in message class to respective spanish text. but in se91 i'm not able to see all my text messages at a time. for single instance i'm able to convert single message.i have to save and then go back for my next message.

do we have a work around for this?

0 Kudos

This doesn't let you update them all at once, but you can see them at least (log into the client with the language you want before running in se38).  Useful for validating/testing, esp if you do not have access to the pools/worklists/etc.

*&---------------------------------------------------------------------*
*& Report  ZDAVE_SHOW_TRANSLATIONS
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT ZDAVE_SHOW_TRANSLATIONS.

data:     i type SY-MSGNO,
           lv_par1   LIKE sy-msgv1, "message parameter 1
           lv_par2   LIKE sy-msgv1, "message parameter 2
           lv_par3   LIKE sy-msgv1, "message parameter 3
           ls_return TYPE bapiret2,
           return type bapiret2_t. "row of error return table

do 32 times.
     lv_par1 = '1'.
     lv_par2 = '2'.
     lv_par3 = '3'.
     CALL FUNCTION 'BALW_BAPIRETURN_GET2'
       EXPORTING
         type   = 'E'
         cl     = 'ZOTC_SALESPORTAL'
         number = i
         par1   = lv_par1
         par2   = lv_par2
         par3   = lv_par3
       IMPORTING
         return = ls_return.
     WRITE: / "ls_return-TYPE,
            "ls_return-ID,
            ls_return-NUMBER,
            ls_return-MESSAGE.
            "ls_return-LOG_NO,
            "ls_return-LOG_MSG_NO,
"           ls_return-MESSAGE_V1,
"           ls_return-MESSAGE_V2,
  "          ls_return-MESSAGE_V3,
  "          ls_return-MESSAGE_V4.
            "ls_return-PARAMETER,
            "ls_return-ROW,
            "ls_return-FIELD,
            "ls_return-SYSTEM.

     APPEND ls_return TO return.
     i = i + 1.
enddo.

raymond_giuseppi
Active Contributor
0 Kudos

Look for translation pools.

Online help at [Translation Tools for Translators (BC-DOC-TTL)|http://help.sap.com/saphelp_sm32/helpdata/en/77/5719d2492011d1894a0000e829fbbd/frameset.htm]

Regards

Former Member
0 Kudos

Hi Pratyush Panda,

You can translate the text by using SE63.

And also try this FM's             SKTZ_TRANSLATE_TEXT_TEXTLOG ,

                                             

                                               TRM_SHOW_ALL_TRANSLS_OF_STEXT

Let me know if any clarification/help required.

Thanks & Best Regards.

Pavan Neerukonda.