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

Feature translation status country flags #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sepastian
Copy link

The method translations_status_flags works similar to translation_status. But instead of showing a string representing each locale translated, a little flag is shown:

flags

The flag icons used come from (FamFamFam)[http://www.famfamfam.com/lab/icons/flags/]: "These flag icons are available for free use for any purpose with no requirement for attribution."

Some work/cleanup is still required, because the country flags represent countries - not languages. For instance, I had to copy the flag of Great Britain (gb.gif) to en.gif. However, this could be scripted, with a mapping between ISO-3166 Country Codes and ISO-639 Language Codes. (I could not quickly find such a mapping.)

… unsaved translations from params and b) mark empty saved translations for deletion.
@fabn fabn mentioned this pull request Jun 7, 2014
alsemyonov pushed a commit to alsemyonov/activeadmin-globalize that referenced this pull request Nov 21, 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.

1 participant