View Poll Results: Do you think to use it ?

Voters
3. You may not vote on this poll
  • Yes

    1 33.33%
  • No

    2 66.67%
Results 1 to 8 of 8

Thread: RRLanguage.NET The multi language for Carwings_Dynamic_Lite

  1. #1
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,851

    RRLanguage.NET The multi language for Carwings_Dynamic_Lite

    This plugin add the multi language option for the 'Carwings_Dynamic_Lite' skin MENU.

    But you can use this plugin also for define several variables from a list

    You can create your own language:
    -copy the english folder to your language name
    -found a .gif flag for your language
    -modify the RRLanguage.txt file (with notepad) and save it with the UNICODE option !!!
    -add your language into the RRLanguageList.txt file !!!

    The RRLanguage.txt format:
    ********************
    [Menus]
    l_set_MUSIC=MUSIC
    l_set_RADIO=RADIO
    l_set_VIDEO=VIDEO
    l_set_DVD=DVD
    l_set_XM RADIO=XM RADIO
    l_set_SIRIUS=SIRIUS
    l_set_PHONE=PHONE
    l_set_WEATHER=WEATHER
    l_set_PICTURES=PICTURES
    l_set_BROWSER=BROWSER
    l_set_PLUGIN MGR=PLUGIN MGR
    l_set_DIMMER=DIMMER
    l_set_CAMERA=CAMERA
    l_set_MAPPOINT=MAPPOINT
    l_set_GARMIN=GARMIN
    l_set_iGO=iGO
    l_set_iGUIDANCE=iGUIDANCE
    l_set_LAUNCH=LAUNCH
    l_set_DVB=DVB
    l_set_MJS LED=MJS LED
    l_set_MJS IO=MJS IO
    l_set_WEB RADIO=WEB RADIO
    l_set_UnUsed1=UnUsed
    l_set_UnUsed2=UnUsed
    l_set_UnUsed3=UnUsed
    l_set_UnUsed4=UnUsed
    l_set_UnUsed5=UnUsed
    l_set_UnUsed6=UnUsed
    l_set_UnUsed7=UnUsed
    l_set_UnUsed8=UnUsed
    l_set_UnUsed9=UnUsed
    l_set_UnUsed10=UnUsed
    l_set_UnUsed11=UnUsed
    l_set_UnUsed12=UnUsed
    l_set_UnUsed13=UnUsed
    l_set_UnUsed14=UnUsed
    l_set_UnUsed15=UnUsed
    l_set_UnUsed16=UnUsed
    l_set_UnUsed17=UnUsed
    l_set_UnUsed18=UnUsed
    l_set_UnUsed19=UnUsed

    [Other Screens]
    It's possible to add more lines !!!

    You also change the var names, just use the format:
    var1=MUSIC
    var2=DVD
    etc...

    If you want change the language, just use the command, 'pluginmgr;settings;RRLanguage' or 'rrlanguage_settings'.
    This commands launch the 'RRLanguage_Settings.skin' .
    Double click or the select command run !

    I hope that you will like this plugin !

    I must to say a great THANK to lambosprit who has helped me for the .NET version

    History:
    *****
    V1.0.2 7/19/2011
    the language is now saved into a RRLanguage.ini file, not into the skin.ini file !

    V1.0.1 7/17/2011
    VB.NET version and unicode compatible !

    V1.0 7/1/2011
    First version (VB6)
    Attached Images Attached Images     
    Attached Files Attached Files

  2. #2
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    786
    Well done pierrotm for starting something thats been needed for a while. Wont need it myself as English works for me but otherwise should be useful.

    Not trying to steal you're thunder but all my plugins can be made language specifc. I use string files and localisation in .net. All it needs is some one to translate the stringfile and send to me then I can build it into the install or they can just add it to their system and it will use it automatically. Anyone using .net for plugins can do it easily and I'd be pleased to help.

  3. #3
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,851
    I am not so a good programmer that you are to do that . I learn vb6 and vb.net and it's a first step for me .
    I can, i think easly translate my vb6 source to vb.net .
    If you have an exemple source plugin in .net and you can share it, i should like to see that !

  4. #4
    Maximum Bitrate
    Auto Apps:loading...
    lambosprit's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    786
    No probs. I knew no coding before I started with Roadrunner.

    Heres how to do it vb.net express

    Copy the attached file to the project directory
    Add it as an existing item in the project
    Open it in the project and change the access modifier to public or friend depending on your needs.
    complie. You then need to add / change the names and values to match your requirements. Do this first so you have a complete list before translating as its easier.

    To use just add My.Resources.StringFile.yourstringname (change the yourstringname to your actual name) anywhere you want and it will translate.

    To make it multi langauge copy your StringFile.resx and paste it with the new name of your language. So for French its StringFile.fr-FR.resx. This name is very important to get right otherwise it wont work.
    Add this new file as an existing item.
    Open it and change the access modifier then amend the string value to match your translation.

    The easy way to do a translation is to just click and drag the table in the project and copy and paste it to notepad. Translate there and then copy and paste back. You can even send to other people for translation and as long as they don't rearrange the file you can just cut and paste back.


    Edit. Pierre asked for a full example so I took the vb.net example from RR's installation and added the language bit.
    It should work for french language PC's. I haven't tested it though
    Attached Files Attached Files

  5. #5
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,607
    Quote Originally Posted by lambosprit View Post
    Well done pierrotm for starting something thats been needed for a while. Wont need it myself as English works for me but otherwise should be useful.

    Not trying to steal you're thunder but all my plugins can be made language specifc. I use string files and localisation in .net. All it needs is some one to translate the stringfile and send to me then I can build it into the install or they can just add it to their system and it will use it automatically. Anyone using .net for plugins can do it easily and I'd be pleased to help.

    Yep, my plugins and skins now come with language translation, just need the language files built for them.(I do some via google translate but it doesn't always work right)

  6. #6
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,851
    Big thanks lambosprit,

    I try the your vb.net exemple !

    I have found where is the issue when i write into the ini file . I have a hidden character between the = and the value and i don't know why:

    By exemple, i see well , language=french, but i have a hidden character between = and french ???

  7. #7
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,851

    New .NET version

    See the first post for the last version !!!

  8. #8
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,851

    v1.0.2 version

    A new version is into the first post.
    The language is now saved into a RRLanguage.ini file , not into the skin.ini file !

Similar Threads

  1. UNICODE / Multi-Language support in RR
    By guino in forum RR FAQ
    Replies: 0
    Last Post: 11-03-2009, 05:12 PM
  2. HUGE Seattle-area multi-brand/multi-forum meet!!
    By ChiefyMan in forum MP3Car Gatherings
    Replies: 0
    Last Post: 08-28-2006, 03:53 PM
  3. Multi language
    By henriktha in forum MediaCar
    Replies: 0
    Last Post: 07-26-2004, 05:05 PM
  4. Multi-In, Multi-Out Switch Needed
    By captain_jim1 in forum General Hardware Discussion
    Replies: 27
    Last Post: 08-20-2003, 12:17 AM
  5. Multi Monitors with multi vidcards
    By 98explorerxlt in forum LCD/Display
    Replies: 14
    Last Post: 02-01-2003, 04:35 AM

Bookmarks

Posting Permissions

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