Skip to content

Conversation

@danieltj27
Copy link
Contributor

@danieltj27 danieltj27 commented Jan 30, 2018

Please add a new locale for English (Pirate).

This is based off of the original request in PR #832.

I've also altered the locale code to match up with existing locales of the same name. Facebook refers to it as en_PI so I suggest keeping the locale code the same for compatibility.

See #828.

Copy link
Contributor

@itssimple itssimple 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.

@Mte90 Mte90 added this to the 3.1 milestone Mar 22, 2018
Copy link
Member

@ocean90 ocean90 left a comment

Choose a reason for hiding this comment

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

Proposal based on the Emoji locale:

$pirate = new GP_Locale();
$pirate->english_name = 'English (Pirate)';
$pirate->native_name = 'English (Pirate)';
$pirate->lang_code_iso_639_2 = 'art';
$pirate->wp_locale = 'art_xpirate';
$pirate->slug = 'en-pi';
$pirate->google_code = 'xx-pirate';
$pirate->facebook_locale = 'en_PI';

art is for artificial languages.

@danieltj27
Copy link
Contributor Author

Sure thing, I'll amend the PR when I have a spare moment 👍

@danieltj27
Copy link
Contributor Author

@toolstack
Copy link
Contributor

Might be easier to do a new PR if it's giving you problems merging in the changes to this tree.

@danieltj27
Copy link
Contributor Author

Ah, sorry. It looks like the commits are sorted in ascending order so I didn't see it at the bottom.

Oh dear... okay well it should be update now in this PR ready for review 👍

Copy link
Member

@ocean90 ocean90 left a comment

Choose a reason for hiding this comment

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

Don't worry about the merging, we can squash and merge it for you.

Just noticed that I forgot to change the slug property. If we follow Emoji it would be art-xpirate but I'd be fine with just pirate though. Since the list is sorted alphabetically it should be moved before the Polish locale.

@danieltj27
Copy link
Contributor Author

Okay I can make the change later on. I think it’s probably best to keep it the same as Emoji so it’s art-pirate.

@danieltj27
Copy link
Contributor Author

@ocean90 updated the slug for Pirate to art-xpirate and moved above Polish locale. 👍

@ocean90 ocean90 modified the milestones: 3.1, 3.0 Apr 16, 2018
@ocean90 ocean90 merged commit 7bd9425 into GlotPress:develop Apr 16, 2018
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.

5 participants