Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Add French translation #350

Merged
merged 15 commits into from
Feb 8, 2017
Merged

WIP - Add French translation #350

merged 15 commits into from
Feb 8, 2017

Conversation

corradio
Copy link
Member

@corradio corradio commented Feb 7, 2017

Refers to #311
TODO:

@corradio corradio changed the title Add French translation WIP - Add French translation Feb 7, 2017
@corradio
Copy link
Member Author

corradio commented Feb 7, 2017

@ThierryOllivero @brunolajoie can you review / improve the translations?
Note: there are 3 json files to review (one for browser content, and two for server-generated content). I will merge them into one file per language asap.

@ThierryOllivero
Copy link
Contributor

What are the 3 files? lang.json , en.js and fr.js ?

@corradio
Copy link
Member Author

corradio commented Feb 7, 2017

yes!

Copy link
Contributor

@ThierryOllivero ThierryOllivero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai un doute sur le "Géothermie" vs "Géothermique" en français ?

@corradio
Copy link
Member Author

corradio commented Feb 7, 2017

Simpler for the language review:

image
image
image
image
image
image
image
image

@brunolajoie @ThierryOllivero can you review?

@corradio
Copy link
Member Author

corradio commented Feb 7, 2017

Actually there was a couple of bugs that I just fixed. Here are the new tooltips:

image
image
image
image

cc @brunolajoie @ThierryOllivero

Copy link
Contributor

@ThierryOllivero ThierryOllivero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now

@brunolajoie
Copy link
Contributor

Si t'as plus ce petit bug, ca me vas
image

@corradio
Copy link
Member Author

corradio commented Feb 8, 2017

Good catch @brunolajoie !

Please validate the new version:
image

Also: note that the facebook/twitter buttons have changed language :)

@ThierryOllivero
Copy link
Contributor

I would change "combien de CO2 a été émis" by "quelle quantité de CO2 a été émise".

I would change "voir (data sources)" by "(voir data sources)", as it is the case in English.

@corradio
Copy link
Member Author

corradio commented Feb 8, 2017

@ThierryOllivero

image

@ThierryOllivero
Copy link
Contributor

Much better! Should be ok now.

@corradio
Copy link
Member Author

corradio commented Feb 8, 2017

Européenne prends deux "n"!

J'ai traduit les pays aussi:

image

@corradio
Copy link
Member Author

corradio commented Feb 8, 2017

@nikkozzblu can you do the final review?

@corradio corradio requested a review from nikkozzblu February 8, 2017 08:53
Copy link
Contributor

@nikkozzblu nikkozzblu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, really like the effort to structure the locale files, as you say we can have the lang.json extracted by server from the en.json, fr.json ,... in a future refactoring.

Now time to activate all the good wills that proposed to translate here in their languages;
Maybe a quick part in readme specific to translation can be efficieny....

I will look if i can find somebody for spanish :p

@@ -5,10 +5,14 @@
<meta name="description" content="Electricity Map is a live visualization of where your electricity comes from and how much CO2 was emitted to produce it." />
<meta property="og:description" content="Electricity Map is a live visualization of where your electricity comes from and how much CO2 was emitted to produce it." />
<meta property="og:image" content="https://cloud.githubusercontent.com/assets/1655848/20340757/5ada5cf6-abe3-11e6-97c4-e68929b8a135.png" />
<meta property="og:title" content="Electricity Map | Live CO2 emissions of the European electricity consumption" />
<meta property="og:title" content="<%= __('misc.maintitle') %>" />
<meta property="og:type" content="website" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don t know if that on purpose but you don t have anymore Electricity map | before the title

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok no sorry, only meta

@corradio corradio merged commit 9f9836c into master Feb 8, 2017
@corradio corradio deleted the feature/i18n branch February 8, 2017 10:20
Pantkowsky pushed a commit to Pantkowsky/electricitymap that referenced this pull request Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants