dnbard / brackets-extension-rating

Brackets extension used to display other extensions rating

Home Page:http://brackets.dnbard.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Localization support

Denisov21 opened this issue · comments

Do you want to help localize this extension to some specific language ?

Hi, @dnbard Yes I can localize in Italian language!

@Denisov21 , please look at localization infrastructure that I've added recently. You can use default dictionary as example to create Italian localization.

@dnbard
How do you know this method to translate extensions? I knew that there was only this: https://github.com/adobe/brackets/tree/master/src/extensions/samples/LocalizationExample

@Denisov21 I've used something similar for much complex project at my work. Also I've used several third party libraries (like momentjs, message format etc) and MVVM framework (knockoutjs) along with it. Here is much lighter version of that solution.

Close, thank you!

New localization strings added in db97927.
They will be displayed in default language (English) if they wont be included to appropriate dictionaries.

Note: more strings will be added before next release (v 0.3.0).
Note: I've marked the new strings with v 0.3.0 comment in English dictionary

Sorry for all these PR I corrected an error loading the Italian language!

New localization strings in 824f3c2 (Badges region of en-US.js)

New localization strings in 9805b5f and e7d3cea (marked as v 0.4.0)

I want to contribute too, I can help you with es-ES (spanish), ca-ES (catalan), ro-RO (romanian). I have the files ready, but how about encodings ? How do you handle them in the js ? The part with the html tags I suppose uses the html codes and the variables, strings use escaping ?

@enr00ted Hi.

I have the files ready, but how about encodings ? How do you handle them in the js ? 

Right now, I'm not handling encodings at all. I use what settings that Brackets setting to. I assume that it's an UTF-16.

The part with the html tags I suppose uses the html codes and the variables, strings use escaping ?

In <div>... and ${count} more versions</div> don't translate div and ${count}.

Can I get permision for commit ?
Please do a pull request.

If you have questions about your commits, please provide link to them in your repository and we can continue discussion there.

I updated but still getting english by default in brackets.

Please create new issue about this and we continue discussion there.

I've added 2 more strings at 5d0ffd9 Please see changes in en-US.js file that are marked with v0.5.0 label

I've added 1 new string in 206c982 . I feel that there may be more strings before v0.5.0 release.

from last few days extension rating is not working. and had also stopped showing downloads of yesterday. the figure remains same each day.

@riteshbksc Please create a separate issue for that. This is wrong topic to report bugs. Also this bug was on Brackets-registry side. It is already fixed, so we can only wait for that stats become available once again. Please refer to adobe/brackets#8402 if you need details.

2 new strings for #84 in b7898ce

Thanks for your valuable response.

I was just curious to know the about the way to know no. of users for a
particular extension simply. Not raising any bug for any extension and my
doubt has already been clarified.

Thanks a lot.

On Mon, Sep 8, 2014 at 12:44 PM, Alex Bardanov notifications@github.com
wrote:

2 new strings for #84
#84 in b7898ce
b7898ce


Reply to this email directly or view it on GitHub
#3 (comment)
.

http://www.refearn.com/offers.php?RefEmailId=riteshbksc@gmail.com

1 new string in ac8597c