ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Feature requests and bug reports
forum topic indicator About localization
person icon
Wickersun
Guest
Quote
2022-10-15 17:06:10

Hi guys! I've got a couple of questions about localization.

1. How can I localize a string for extension. I mean text that appears in menu "Scripted actions" and "Scripted behaviors" in the Properties -> Behavior tab.
The properties from any extension is localized perfectly if you write <str name="someprop">Blablabla</str>
But what about the description of extension that appears in the menu? Is there any way to do it?

2. Why some strings are not localized, though they are in the xml file? I think it's a bug.

I'm not posting full bug report because there are many strings and I'm not yet inspected Coppercube deeply. For example, most combobox buttons not localized though in the xml file they are.

person icon
just_in_case
Moderator
Quote
2022-10-23 08:30:58

You can translate only those strings that are available in the language file in your Coppercube installation directory.
Custom extensions or plugins that you download from the internet should be translated and altered manually by editing the .js file

person icon
SomeUser
Guest
Quote
2024-10-05 19:27:18

The fact is that when you change text in description (for example here <behavior jsname="behavior_2DJumpNRun" description="?????? ??????"> )you'll get not readable symbols in Coppercube. Even if you change the charset to cyrillic for .js file, nothing will happened - still another not readable symbols.

But if you add property name (for example here <property name="JumpLengthMs" type="int" default="200" />) to <str name="pJumpLengthMs">???????????? ??????</str> in the file coppercube_language_ru.xml, this property show exactly that it should!

person icon
SomeUser
Guest
Quote
2025-05-30 14:15:31

I see that the bug is not fixed in version 6.7.1. It may not be entirely clear what was discussed. So, here are the images that will help you understand the problem.
embedded external image
🔎︎


person icon
SomeUser
Guest
Quote
2025-06-04 16:58:08

And yet, some localized strings are not shown correct in the Scene Manager, like here:
embedded external image
🔎︎


person icon
okeoke
Registered User
Quote
2025-06-04 18:15:41

TpaHc/\uT u3 Hy/\eBbIx, HacTa/\o TBoe BpeM9|

person icon
okeoke
Registered User
Quote
2025-06-04 18:26:02

Have you tried other encodings? Windows 1251?

person icon
SomeUser
Guest
Quote
2025-06-04 21:36:58

wrote:
Have you tried other encodings? Windows 1251?

??-??, ?????????????? ???????? ????... ????. Yes, I've tried this charset. This bugs is exactly with Unicode in source files.

person icon
dekon_17
Registered User
Quote
2025-06-05 13:44:41

okeoke wrote:
TpaHc/\uT u3 Hy/\eBbIx, HacTa/\o TBoe BpeM9|

Bce HoBoe – xopowo 3a6blToe cTapoe, BepHo?

person icon
okeoke
Registered User
Quote
2025-06-05 16:17:23

Ec, eHg Bu Hug Ty 6u BaH cTen axeg


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |