User tests: Successful: Unsuccessful:
nativeName
and calendar
to language metadata xml.This new nativeName
metadata is the language title in the native language.
This should be added to all languages packages.
For consistence i added in the 3 language metadata xmls.
After this is merged it can be used in installation and when installing languages.
This new calendar
metadata is the calendar type to be used in the new datapicker.
Example: gregorian, jalali
Reggarding the unit test changes if they pass is ok.
Pages that indicate how to create a language package need to be updated.
@brianteeman please check if the English native title is correct.
@infograf768 @Bakual After this is merged this new var can be used in installation and when installing content languages.
Status | New | ⇒ | Pending |
Labels |
Added:
?
?
|
Category | ⇒ | Language & Strings Administration Installation |
it should be great Britain not united kingdom but I don't really care
i actually add that doubt because en-GB means "English (Great Britain)", not "English (United Kingdom)" that, as you know better than i do, are different things.
I did look it up on the iso standards once to see what they said and it was
as clear as mud
We use GB as the two digit because UK is the Ukraine. But as the country
full name is The United Kingdom of Great Britain and Northern Ireland it is
best to write United Kingdom in this case
We use GB as the two digit because UK is the Ukraine. But as the country full name is The United Kingdom of Great Britain and Northern Ireland it is best to write United Kingdom in this case
yes just saw that right now in official iso codes page
UNITED KINGDOM OF GREAT BRITAIN AND NORTHERN IRELAND
Can you use nativeName
instead of native_name
? Looks to be more consistent with other names in the XML.
Other than that I think it is a good move
yes we can will change
Labels |
Added:
?
|
A list with all the native names exists here: https://github.com/dgt41/joomla-cms/blob/e17e53dcb8a764765c1d6b81933c5854b94d9a6a/plugins/editors/tinymce/helpers/tinymce.php
(If that would be somewhat helpful)
You're sure you want to mix all those codestyle and SQL stuff into this PR?
The first changes could have been merged by review alone, but now this becomes a regular PR which needs testing instructions and regular tests.
@Bakual i know, the problem is the unit tests ... because of the inconsistency of the language names across joomla (which is really annoying ....!) Every time i try to change something in language i got problems because in some place is "(en-GB)", other is "(UK)", others is "(United Kingdom)" ...
IMHO, if we are changing the native title to be "English (United Kingdom)" and the international name being "English (en-GB)" we need to reflect this across joomla (install sql, unit tests, xml files, etc).
Also had to make a series of changes to have valid unit tests.
Basicly added consistency to all language names across joomla and unit tests.
You're sure you want to mix all those codestyle and SQL stuff into this PR?
The first changes could have been merged by review alone, but now this becomes a regular PR which needs testing instructions and regular tests.
This will probably only be merged in 3.7.x so ... i see no issue with that.
The most important test continues to be a code review.
More tests i will write them after.
updated test instruction in the PR description.
@andrepereiradasilva
If this goes in (OK for me for 3.7), let's also add the new metadata proposed for the new calendar at the same time.
#11138
The new metadata is
<calendar>jalali</calendar>
or
<calendar>gregorian</calendar>
for now (other calendars may be added in the future).
If not present it would use gregorian
.
Title |
|
ok added the calendar type to site and admin metadata xml. Didn't add it to install because i think it's not used there.
also updated PR description.
Please do a general code review and test.
Didn't add it to install because i think it's not used there.
No problem, I did that on the other PR
Example: gregorian, javali
"jalali" ;)
Please milestone to 3.7
"jalali" ;)
ehhehe corrected
ok now it will use the new nativeTitle (if exists) on language install to create the content language native title as it should be.
It will still fallback to the install language variable (that should then be removed in 4.0).
Labels |
Added:
?
Removed: ? |
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
Labels |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-10-11 19:44:55 |
Closed_By | ⇒ | rdeutz |
Labels |
Removed:
?
|
Fine by me. Some sources might say it should be great Britain not united kingdom but I don't really care