The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Contribute for Language Pack - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: Contribute for Language Pack (/showthread.php?tid=1446) |
Contribute for Language Pack - MerajBD - 04-18-2019 I am planning to add BD_bn language to my userspice. But I can you add thia language pack to updates please? If yes tell me how. RE: Contribute for Language Pack - mudmin - 04-18-2019 (04-18-2019, 03:37 PM)MerajBD Wrote: I am planning to add BD_bn language to my userspice. But I can you add thia language pack to updates please? If yes tell me how. Sure. Just paste the contents of the language file on pastebin.com and share the link here. Thank you! RE: Contribute for Language Pack - MerajBD - 04-19-2019 Here is the language pack: https://pastebin.com/3rheAxf4 Whats next? Do I need to translate other files, e.g. : admin_dashboard? Last question, how to implement this file? I've copied thos file to /users/lang/ and userc/lang I've copied the flag image to /users/lang/flags in iso format Then I tried to change language from admin dashboard, didn't work, then tried to change from user account, didn't appeared the language, then I replaced the en-US file im /userc folder and got success. But the last method I tried Isn't a right way to do. RE: Contribute for Language Pack - mudmin - 04-19-2019 The right way to do it is to copy that file as bn-BD.php to users/lang and the flag to the flags directory, but I'm seeing the same thing that you are seeing. I was just having a conversation with Usamusa one of our other developers about this sort of thing, and I think it is a browser issue that we will need to correct in the head tags file or something like that. My guess is that something in our head tags is conflicting with the character set. Do you know the name of the character set for bn? RE: Contribute for Language Pack - mudmin - 04-19-2019 (04-19-2019, 11:43 AM)mudmin Wrote: The right way to do it is to copy that file as bn-BD.php to users/lang and the flag to the flags directory, but I'm seeing the same thing that you are seeing. I was just having a conversation with Usamusa one of our other developers about this sort of thing, and I think it is a browser issue that we will need to correct in the head tags file or something like that. My guess is that something in our head tags is conflicting with the character set. Do you know the name of the character set for bn? Oops. Nevermind. I got it to work https://i.imgur.com/vP8FPxp.png Let me just post the whole language directory. Nothing in usersc. Just overwrite everything in your users/lang. I attached lang.zip to this post. RE: Contribute for Language Pack - MerajBD - 04-19-2019 same thing for me. When I restarted browser, it worked. And the reason language was not showing on user setting is the flag need to be in png format. I uploaded in jpg. After I corrected, It worked. The zip file seems like corrupted.. Can you attache in other format please? RE: Contribute for Language Pack - mudmin - 04-19-2019 Ahh. I am not near my computer but I will when I get back |