Closed olafgrabienski closed 7 years ago
Possible solution:
We could file issues against Backdrop and Drupal core to update the .inc
files. (The language list in Backdrop is however much shorter than the list in Drupal. Don't know for what reason.)
Or workaround:
.inc
file inside the folder of the tool, and change the path in require_once
of get_pos.php
..inc
file manually.We should be able to add the languages to the array that is built in get_pos.php
without modifying or breaking Backdrop or Drupal core.
Can you file an issue in backdrop/backdrop-issues with regards to the missing languages in core/includes/standard.inc
and if that is received well, i.e. ping @quicksketch on the issue, we can file one against Drupal as well.
Yes, will do it!
@olafgrabienski I've added the missing languages to an array:
// There are some languages misssing from iso.inc
// @see https://github.com/serundeputy/get_pos/issues/1
$missing = array(
'tvy' => array(0 => 'Tuvan'),
'prs' => array(0 => 'Afghanistan Persian'),
);
we'll see what happens with the upstream issue https://github.com/backdrop/backdrop-issues/issues/2610
thanks, ~Geoff
@serundeputy Thanks for adding the missing languages. I tested the script and missed Tuvan. The reason is a typo in my issue description, sorry for that! I wrote tvy
but it has to be tyv
.
fixed! thanks!
The tool downloads most but not all
.po
files which are available on https://localize.drupal.org/download. Seems that Drupal'siso.inc
and Backdrop'sstandard.inc
are not up to date.Using the master (Drupal) branch, two languages are missing:
Using the Backdrop branch, eight languages are missing: