create account

Utopian V2 task / Article module: Language (Completed) by gregory.latinier

View this thread on: hive.blogpeakd.comecency.com
· @gregory.latinier · (edited)
$14.72
Utopian V2 task / Article module: Language (Completed)
![utopian-V2-task.jpg](https://cdn.steemitimages.com/DQmc1BTNw8HjpaquzqppVDr6Qck1vQLPJ2YtMmoaTHSqsUo/utopian-V2-task.jpg)

#### Repository
https://github.com/utopian-io/v2.utopian.io/issues/138

#### Details
_Difficulty: 3/5_
Reviewers can only review articles in a language that they are fluent in. To enable that, we need a language setting. This will be managed by the admin app later.

It will also be used as a search filter.

*Design*

![image](https://user-images.githubusercontent.com/13222767/48354146-3f36c300-e691-11e8-8e87-7564b3ca2b84.png)

*Acceptance criteria*
* The language list is a shared component
* The list is stored in the database in the languages collection with lang and text as attribute. Lang is the primary key, no _id.
* Use a store to query the API only once
* Use 2 chars for lang value
* Display the language text in its own language (English, Français, ...)
* Create a fixture with 3 to 5 languages, no need to have them all

*UML*

![image](https://user-images.githubusercontent.com/13222767/48354108-2d552000-e691-11e8-9221-7594a77ec53f.png)

*General advice*

* You need to be sure that what you developed is responsive. To do this, it is not enough to check on the phone. You should also you manually resize the browser. Here is a hint: use the quasar breakpoints and col-* classes.
* You need to verify your work on multiple browsers, including Chrome and Firefox. If you can also check multiple OS, even better.
* All strings must be placed in the i18n package

#### Components

This task will involve web and backend development.

* Frontend: [The create/edit page of the article](https://github.com/utopian-io/v2.utopian.io/tree/develop/packages/client/src/pages/articles/create-edit)
* API: [The articles enpoints](https://github.com/utopian-io/v2.utopian.io/tree/develop/packages/api/modules/articles)
* API Integration tests

#### Deadline
This task should be completed within 2 weeks

#### Reward
Rewards generated by this task request will be sent as liquid STEEM to the task solver once the task is completed, as decided by the project owner. Access additional rewards by publishing the contribution via Utopian once merged.

#### Communication
We, the dev core team, are here to help you develop your task in the best way possible.
@nothingismagick @icaro and I (@gregory [mod] on discord) will be available in a dedicated channel on the [utopian discord](https://discord.gg/CA9pqES). 

Remember that your can check the [public project page](https://github.com/orgs/utopian-io/projects/4) any time to see if the task is currently in progress.
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 182 others
properties (23)
authorgregory.latinier
permlinkutopian-v2-task-article-module-language
categoryutopian-io
json_metadata{"community":"steempeak","app":"steempeak","format":"markdown","tags":["utopian-io","task-development","contributors"],"users":["nothingismagick","icaro","gregory"],"links":["https://github.com/utopian-io/v2.utopian.io/issues/138","https://github.com/utopian-io/v2.utopian.io/tree/develop/packages/client/src/pages/articles/create-edit","https://github.com/utopian-io/v2.utopian.io/tree/develop/packages/api/modules/articles","/@nothingismagick","/@icaro","/@gregory","https://discord.gg/CA9pqES","https://github.com/orgs/utopian-io/projects/4"],"image":["https://cdn.steemitimages.com/DQmc1BTNw8HjpaquzqppVDr6Qck1vQLPJ2YtMmoaTHSqsUo/utopian-V2-task.jpg","https://user-images.githubusercontent.com/13222767/48354146-3f36c300-e691-11e8-8e87-7564b3ca2b84.png","https://user-images.githubusercontent.com/13222767/48354108-2d552000-e691-11e8-9221-7594a77ec53f.png"]}
created2018-11-14 13:30:45
last_update2018-11-22 13:04:39
depth0
children10
last_payout2018-11-21 13:30:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value14.716 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,591
author_reputation34,278,323,818,021
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries
0.
accountutopian.tasks
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id75,274,602
net_rshares83,496,688,357,459
author_curate_reward""
vote details (246)
@amosbastian ·
>Reviewers can only review articles in a language that they are fluent in.

For some reason I didn't realise we were going back to supporting multi-language contributions. Scary!
👍  ,
properties (23)
authoramosbastian
permlinkre-gregorylatinier-utopian-v2-task-article-module-language-20181114t141112068z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-11-14 14:11:12
last_update2018-11-14 14:11:12
depth1
children3
last_payout2018-11-21 14:11:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length178
author_reputation174,473,586,900,705
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,276,746
net_rshares13,143,555,829
author_curate_reward""
vote details (2)
@espoem ·
Don't expect it to be back in one week or even a month. Enabling the review processes for other languages than English requires lots of work and time.
properties (22)
authorespoem
permlinkre-amosbastian-re-gregorylatinier-utopian-v2-task-article-module-language-20181114t182816996z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-11-14 18:28:15
last_update2018-11-14 18:28:15
depth2
children0
last_payout2018-11-21 18:28:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length150
author_reputation59,289,149,412,912
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,290,114
net_rshares0
@gregory.latinier ·
The feature is simply anticipated.
👍  ,
properties (23)
authorgregory.latinier
permlinkre-amosbastian-re-gregorylatinier-utopian-v2-task-article-module-language-20181116t020838192z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"steempeak","app":"steempeak"}
created2018-11-16 02:08:39
last_update2018-11-16 02:08:39
depth2
children0
last_payout2018-11-23 02:08:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length34
author_reputation34,278,323,818,021
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,366,327
net_rshares438,046,244
author_curate_reward""
vote details (2)
@oups ·
https://emojis.slackmojis.com/emojis/images/1495224256/2291/conga_party_parrot.gif
properties (22)
authoroups
permlinkre-amosbastian-re-gregorylatinier-utopian-v2-task-article-module-language-20181114t142327960z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":["https://emojis.slackmojis.com/emojis/images/1495224256/2291/conga_party_parrot.gif"]}
created2018-11-14 14:23:30
last_update2018-11-14 14:23:30
depth2
children0
last_payout2018-11-21 14:23:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation20,674,011,682,802
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,277,373
net_rshares0
@jmiller05 ·
$2.35
re-gregorylatinier-utopian-v2-task-article-module-language-20181114t202318000z
This post has received a 20.00% upvote from @jmiller05! 
👍  , , , , , , , ,
properties (23)
authorjmiller05
permlinkre-gregorylatinier-utopian-v2-task-article-module-language-20181114t202318000z
categoryutopian-io
json_metadata{"app":"communitybot/1.1.0"}
created2018-11-14 20:23:18
last_update2018-11-14 20:23:18
depth1
children1
last_payout2018-11-21 20:23:18
cashout_time1969-12-31 23:59:59
total_payout_value1.767 HBD
curator_payout_value0.587 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length57
author_reputation623,662,337,100
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,294,990
net_rshares3,431,596,425,669
author_curate_reward""
vote details (9)
@boomerang ·
This post has received a 13.21 % upvote from @boomerang.
properties (22)
authorboomerang
permlinkre-re-gregorylatinier-utopian-v2-task-article-module-language-20181114t202318000z-20181117t083121
categoryutopian-io
json_metadata""
created2018-11-17 08:31:21
last_update2018-11-17 08:31:21
depth2
children0
last_payout2018-11-24 08:31:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length56
author_reputation1,273,205,827,891
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,432,632
net_rshares0
@steemitboard ·
Congratulations @gregory.latinier! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@gregory.latinier/voted.png?201811141438</td><td>You received more than 2000 upvotes. Your next target is to reach 3000 upvotes.</td></tr>
</table>

<sub>_[Click here to view your Board of Honor](https://steemitboard.com/@gregory.latinier)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemfest/@steemitboard/the-meet-the-steemians-contest-is-over-results-are-coming-soon"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmeLukvNFRsa7RURqsFpiLGEZZD49MiU52JtWmjS5S2wtW/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/the-meet-the-steemians-contest-is-over-results-are-coming-soon">The Meet the Steemians Contest is over - Results are coming soon ...</a></td></tr></table>

> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-gregorylatinier-20181114t170426000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-11-14 17:04:24
last_update2018-11-14 17:04:24
depth1
children0
last_payout2018-11-21 17:04:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,320
author_reputation38,975,615,169,260
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,286,132
net_rshares0
@steemitboard ·
Congratulations @gregory.latinier! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@gregory.latinier/payout.png?201811160108</td><td>You received more than 1000 as payout for your posts. Your next target is to reach a total payout of 2000</td></tr>
</table>

<sub>_[Click here to view your Board of Honor](https://steemitboard.com/@gregory.latinier)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemfest/@steemitboard/the-meet-the-steemians-contest-is-over-results-are-coming-soon"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmeLukvNFRsa7RURqsFpiLGEZZD49MiU52JtWmjS5S2wtW/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/the-meet-the-steemians-contest-is-over-results-are-coming-soon">The Meet the Steemians Contest is over - Results are coming soon ...</a></td></tr></table>

> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-gregorylatinier-20181116t014528000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-11-16 01:45:27
last_update2018-11-16 01:45:27
depth1
children0
last_payout2018-11-23 01:45:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,347
author_reputation38,975,615,169,260
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,365,613
net_rshares0
@steemitboard ·
Congratulations @gregory.latinier! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@gregory.latinier/msc2018.png</td><td>Thank you for your participation in the "Meet The Steemians" contest in Kraków. We hope you enjoyed it and made lots of new friends. See you at SteemFest4!</td></tr></table>

<sub>_[Click here to view your Board of Honor](https://steemitboard.com/@gregory.latinier)_</sub>


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-the-results-the-winners-and-the-prizes"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmeLukvNFRsa7RURqsFpiLGEZZD49MiU52JtWmjS5S2wtW/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-the-results-the-winners-and-the-prizes">Meet the Steemians Contest - The results, the winners and the prizes</a></td></tr><tr><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-special-attendees-revealed"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmeLukvNFRsa7RURqsFpiLGEZZD49MiU52JtWmjS5S2wtW/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-special-attendees-revealed">Meet the Steemians Contest - Special attendees revealed</a></td></tr><tr><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-intermediate-results"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmeLukvNFRsa7RURqsFpiLGEZZD49MiU52JtWmjS5S2wtW/image.png"></a></td><td><a href="https://steemit.com/steemfest/@steemitboard/meet-the-steemians-contest-intermediate-results">Meet the Steemians Contest - Intermediate results</a></td></tr></table>

> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-gregorylatinier-20181119t143224000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-11-19 14:32:24
last_update2018-11-19 14:32:24
depth1
children0
last_payout2018-11-26 14:32:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,062
author_reputation38,975,615,169,260
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,558,236
net_rshares0
@trufflepig ·
**Congratulations!** Your post has been selected as a daily Steemit truffle! It is listed on **rank 7** of all contributions awarded today. You can find the [TOP DAILY TRUFFLE PICKS HERE.](https://steemit.com/@trufflepig/daily-truffle-picks-2018-11-14) 
    
I upvoted your contribution because to my mind your post is at least **6 SBD** worth and should receive **83 votes**. It's now up to the lovely Steemit community to make this come true.

I am `TrufflePig`, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, [you can find an explanation here!](https://steemit.com/steemit/@trufflepig/weekly-truffle-updates-2018-45)
    
Have a nice day and sincerely yours,
![trufflepig](https://raw.githubusercontent.com/SmokinCaterpillar/TrufflePig/master/img/trufflepig17_small.png)
*`TrufflePig`*
    
properties (22)
authortrufflepig
permlinkre-utopian-v2-task-article-module-language-20181114t163311
categoryutopian-io
json_metadata""
created2018-11-14 16:33:15
last_update2018-11-14 16:33:15
depth1
children0
last_payout2018-11-21 16:33:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length882
author_reputation21,266,577,867,113
root_title"Utopian V2 task / Article module: Language (Completed)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id75,284,569
net_rshares0