How to edit rbs file?


What is the rbs file?
How to edit rbs file?



An RBS file is in an encrypted format.
As is the newer RBE file format.
A plain RB Ruby file can be edited using a plain-text editor like Notepad++

But all of this begs the question - why would you want to edit an encrypted file ?
Authors encrypt their code’s RB files to protect their intellectual property from theft.
So wanting to edit such a file seems somewhat suspect…
If it’s your own file then surely you’ll have the original editable RB.
But it it’s not your file then you have no business wanting to edit it anyway ??

Also note that the older RBS file’s encryption is widely known to have been ‘hacked’ some years ago - and these days it is used for simple obfuscation against prying eyes: however, the newer RBE format is more robust - so far at least…

1 Like


I want edit the rbs file to add my own language
You can help me



I explained why decrypting an RBS file for editing is questionable, even if it can be done…

Can I suggest that you start a dialog with the author of this particular encrypted toolset, and offer a translation in your own language - or if you are lucky then perhaps he can explain how to access his code’s ‘strings’ without any decryption being necessary…

PS: You added an image after I typed a reply.
What you show are built-in menu items from SketchUp itself.
These are not within any RBS files, but hard coded into the exe itself, so it’s not even the same issue…
There appears to be some Arabic [?] translations of your SketchUp version anyway. Perhaps you need to speak directly with the SketchUp team ? I don’t think there’s an Arabic-version installer available ?

1 Like


sound good
how can speak?



Members of SketchUp’s Team might see your post here…
Otherwise find an email address and send something to SketchUp / Trimble ?






Another Iranian user asked this recently …

1 Like


If enough people ask for this, maybe Trimble could add it. I don’t know how big the Iranian user base is but in the SketchUp group I’m in on Facebooks there seems to be quite a large amount of middle eastern users.



With regard to sales in Iran specifically, relations would need to improve and U.S. sanctions get lifted for this to possibly be allowed to happen.



Having Iranian collegues (not working in Iran), I have really a hard time to understand how politics dare to affect innocent civil people (also considering that language and country are not 100% matching concepts). But political sanctions might be a hot iron for Trimble’s legal department to hesitate approving a feature that could somehow be misinterpreted.

One solution is (I remember SketchUp team members were positive about that idea) to refactor language support completely out of all binaries, so that it is 1.) easier to add multiple languages to one installer and 2.) to have user-contributed languages (inoffical).

@amani.mostafa5, you have already looked in Localizable.strings? Not all is translatable by editing text files.

1 Like


Thanks for helping me SketchUp
I’m trying to find a solution

I hope the situation gets better

And the system of dictatorship in Iran is also changing



I purposefully avoided taking any political stand above.
I simply stated what the situation may be for most U.S. companies.
(Export to foreign nations, especially software, is controlled by the U.S. State Department.)

It’s not the language of the software that is the issue.
It is the SALE of software or other certain products.

Not being an expert on the situation, it could be that SketchUp is exempt in that the sanctions are only on certain enumerated products. Trimble needs to tread carefully as they are a large supplier of products to the U.S. government.

I’ll edit my previous post to indicate “sales”.


31 CFR § 560.204 - Prohibited exportation, reexportation, sale, or supply of goods, technology, or services to Iran.

31 CFR § 560.206 - Prohibited trade-related transactions with Iran; goods, technology, or services.

Software exclusions:
GENERAL LICENSE D-1, General License with Respect to
Certain Services, Software, and Hardware Incident to Personal Communications