Help needed regarding applying Croatian translation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • domagoj
    Junior Member
    • Apr 2018
    • 5

    Help needed regarding applying Croatian translation

    Hi

    I translated EspoCRM to Croatian language (credits to Bojan Stojanovic for Serbian translation that was used for creating Croatian translation).
    PO file is attached
    I added Croatian language to the list in data/config.php, copied json files that were built with node lang.js from build directory to corresponding Espo directories, but after choosing Croatian language in Admin interface, doing rebuild and clearing Espo cache and browser cache, language is still English. If I choose any other language, it switch correctly.
    I checked and hr_HR is present in all directories where languages exist.
    Am I missing some step?

    config.php: (it's hr_HR at the bottom)
    'languageList' => [
    0 => 'en_GB',
    1 => 'en_US',
    2 => 'es_MX',
    3 => 'cs_CZ',
    4 => 'da_DK',
    5 => 'de_DE',
    6 => 'es_ES',
    7 => 'fr_FR',
    8 => 'id_ID',
    9 => 'it_IT',
    10 => 'lt_LT',
    11 => 'nb_NO',
    12 => 'nl_NL',
    13 => 'tr_TR',
    14 => 'sr_RS',
    15 => 'ro_RO',
    16 => 'ru_RU',
    17 => 'pl_PL',
    18 => 'pt_BR',
    19 => 'uk_UA',
    20 => 'vi_VN',
    21 => 'zh_CN',
    22 => 'hr_HR'
    ],

    Any help appreciated

    Thank you

    Attached Files
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    I will check tomorrow and let you know. May we add your translation to EspoCRM? Thanks.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • domagoj
      Junior Member
      • Apr 2018
      • 5

      #3
      Hi

      Thnx

      Of course you can add it to EspoCRM



      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        Hi,

        Thank you.

        I did the same and it worked out well. I've attached built json files.
        Attached Files
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • domagoj
          Junior Member
          • Apr 2018
          • 5

          #5
          Hi
          Thank you

          huh..weird.

          does version of node plays any part in this?

          Regards
          Domagoj

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            Should not.

            Command:
            node lang hr_HR
            If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

            Comment

            Working...