7 Replies Latest reply on Jun 16, 2011 6:26 AM by Marko Strukelj

    Question about Serbian locales

    Uros Arsovic Newbie

      Hi kind people of the GateIn and Jboss. I wanted to ask question about serbian locale and translation. It is not problem to translate it in serbian cyrilic and init it in the locale-config.xml file. My question is how to init serbian latin language, again translation is not the problem. Only how to init same language in 2 differen locale (cyrilic is default with sr, but how i do it for latin)?

        • 1. Question about Serbian locales
          Thomas Heute Master

          I don't think the language code will matter too much (meaning you can use a different one for the latin one).

          It's only important the one has the correct codes so that the language preferences from the web browser are correctly picked up.

           

          BTW: If you have the transaltion in Serbian, do you mind contributing it ?

          • 2. Question about Serbian locales
            Uros Arsovic Newbie

            Thx a lot. I tried to use serbo-croatian for the latin one but it didnt switch, found somewhere on site here that its code is sh, but then i found out there is a bug about locales that will be fixed in version 3.2. I will contribute it when it is finished i dont know when but surely i will.

            • 3. Re: Question about Serbian locales
              Uros Arsovic Newbie

              Hi, here i am again, i wanted to ask you few more questions.

              1. I have translated as i think all of the propertie files also the potrlet ones, but still some content are not translated, so i wanted to ask you if you could tell me which portlets need to be translated to double check all?

              2. I addition to above question, where should i contribute the files i which format etc. etc. etc.?

              3. I put in portal.xml file default language serbian and also in browser i changed to default language serbian and still i didnt show main page in serbian, where is the problem?

              • 4. Re: Question about Serbian locales
                Marko Strukelj Master

                > 2. I addition to above question, where should i contribute the files i which format etc. etc. etc.?

                One way you can do it is create a GTNPORTAL Jira issue of type Feature request, and attach your file there.

                 

                3. I put in portal.xml file default language serbian and also in browser i changed to default language serbian and still i didnt show main page in serbian, where is the problem?

                You also have to include your locale in locales-config.xml as described here.

                • 5. Re: Question about Serbian locales
                  Uros Arsovic Newbie

                  Marko Strukelj wrote:

                  3. I put in portal.xml file default language serbian and also in browser i changed to default language serbian and still i didnt show main page in serbian, where is the problem?

                  You also have to include your locale in locales-config.xml as described here.

                   

                  I did that, but found the problem was Google Chrome, in Firefox and Explorer it works perfect, thx a lot for quick answer.

                  • 6. Re: Question about Serbian locales
                    Uros Arsovic Newbie

                    Marko Strukelj wrote:

                     

                    > 2. I addition to above question, where should i contribute the files i which format etc. etc. etc.?

                    One way you can do it is create a GTNPORTAL Jira issue of type Feature request, and attach your file there.

                     

                    Sorry for the stupid question how do i create that GTNPORTAL Jira issue of type Feature request?

                    • 7. Re: Question about Serbian locales
                      Marko Strukelj Master
                      1. Go to jira.jboss.org
                      2. login with your jboss.org user:pass
                      3. Select Issues / Create issue
                      4. Under Project select GateIn Portal
                      5. Make sure Issue Type is set to Feature Request
                      6. Click Next, and fill in the rest of the info required

                       

                      Easy when you know how