Find the answer to your Linux question:
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By Irithori
Hi, sir i have four .rc file (german.rc,english.rc,french.rc,chines.rc) and all file have same content like following #define string1 "sunil" #define string2 "kumar" #definr string3 "maurya" string 1, string 2, string ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2012
    Posts
    2

    Thumbs up implementation of rc file


    Hi,
    sir i have four .rc file (german.rc,english.rc,french.rc,chines.rc)
    and all file have same content like following

    #define string1 "sunil"
    #define string2 "kumar"
    #definr string3 "maurya"

    string 1, string 2, string 3, these are same
    only double codes string is different that is in different -different language, so plz write a function so that by calling one function i can get diffent string according to respective language

    Thanks ,

    sunil kumar maurya

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,345
    Hi and welcome

    My suggestion would be to not reinvent the wheel and instead use the established PO format,
    along with the appropiate tools Translate Toolkit and gettext.
    krokoziabla likes this.
    You must always face the curtain with a bow.

  3. #3
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,345
    Ah ok.
    .rc files are actually already existing and used on the windows platform: toolkit:rc [Translate Toolkit & Pootle]
    Still, on unix PO is the better choice, as there are more tools and more documentation.
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •