crimethinc / website

Ruby on Rails app that powers crimethinc.com
https://crimethinc.com
Creative Commons Zero v1.0 Universal
101 stars 31 forks source link

Create web versions for all TCE editions #575

Open astronaut-wannabe opened 6 years ago

astronaut-wannabe commented 6 years ago

guide

There is a guide here for creating a new TCE language page.

languages

astronaut-wannabe commented 6 years ago

PR #577 will add the infrastructure to do this

just1602 commented 6 years ago

Have we a plan to handle language duplication like Français vs Français (Québec) and Espanol (America Latina) vs Espanol (spanish) or we just put one of them and not both?

astronaut-wannabe commented 6 years ago

Have we a plan to handle language duplication like Français vs Français (Québec) and Espanol (America Latina) vs Espanol (spanish) or we just put one of them and not both?

@just1602 we will do both. I know for sure this will work:

within es.yml

espanol: # this is whatever the url is going to be
  layouts:
    to_change_everything:
      language_direction: ltr
      lang_code: es
# etc. etc.
espanol-america-latina:
  layouts:
    to_change_everything:
      language_direction: ltr
      lang_code: es
# etc. etc.

the only thing I am not sure is if I will need to have a full set of the yaml for dialects, or if I can, for example, use espanol as the base and only override what differs.

but either way, the current plan is to do unique pages for unique dialects/regions/etc

veganstraightedge commented 5 years ago

When this is done, close https://github.com/crimethinc/website/issues/548