•  · 3 friends

New module language

Hi to all.ย 


I really love Una and I would like great things with itย ๐Ÿ˜„ย 

I follow the guide on github dot com ย for create a new language module. (sorry if I don't post the entire link, buy my permission in this forum do not permit me to post links and add picture for show the problem ๐Ÿ˜ฒ )

I follow step by step the guide apart the point 7 a part the line _lang_key

because i my file data/lang/system/it.xml this line do not exit and points 8 and 9 because not applicable.


When i the market i try to install the module, it appear, but i have the error "Cannot install module formo "vendor/italian/" directory


Can someone help me?


Thanks,ย 

Matteo


๐Ÿ’“0 ๐Ÿ˜†0 ๐Ÿ˜ฒ0 ๐Ÿ˜ฅ0 ๐Ÿ˜ 0 0
  • 413
  • More
Replies (3)
    • Hello pettenuzzo !

      The _lang_key was given as an example, the exact key may be different like _bx_acl_page_title_sys_view for example.

      Possible you didn't replace the lang keys and proper headers in XML files - that's why you got this error. BTW - "vendor" maybe different too.

      ๐Ÿ’“0 ๐Ÿ˜†0 ๐Ÿ˜ฒ0 ๐Ÿ˜ฅ0 ๐Ÿ˜ 0 0
      • Hi Leonid,


        Thanks for your reply.

        I'm testing in this moment, so also Vendor can be ok for the moment ๐Ÿ˜ƒย 


        "The _lang_key was given as an example, the exact key may be different like _bx_acl_page_title_sys_view for example. "

        Ok, I understand, but, what i must find?


        Thanks,ย 

        Matteo

        ๐Ÿ’“0 ๐Ÿ˜†0 ๐Ÿ˜ฒ0 ๐Ÿ˜ฅ0 ๐Ÿ˜ 0 0
        • This is an example of the beginning of content of modules\boonex\russian\data\langs\bx_accounts\ru.xml:

          <string name="_bx_accnt"><![CDATA[ะะบะบะฐัƒะฝั‚ั‹]]></string>

          <string name="_bx_accounts"><![CDATA[ะะบะบะฐัƒะฝั‚ั‹]]></string>

          The bold text means the keys which should be "found", the crossed words mean the text which should be translated.

          ๐Ÿ’“0 ๐Ÿ˜†0 ๐Ÿ˜ฒ0 ๐Ÿ˜ฅ0 ๐Ÿ˜ 0 0
          Not logged in users can't 'Comments Post'.
          2
          2
          Labels:
          Added:
          Category:

          UNA - Network Infrastructure for Communities

          Close