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

I18n poc #165

Draft
wants to merge 82 commits into
base: main
Choose a base branch
from
Draft

I18n poc #165

wants to merge 82 commits into from

Commits on Aug 12, 2023

  1. Adiciona a dependência do @angular/localize para habilitar a tradução…

    … do site
    
    Add the dependency of @angular/localize in order to allow translating the website
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    906a8f8 View commit details
    Browse the repository at this point in the history
  2. Adiciona a dependência do @angular/localize para habilitar a tradução…

    … do site
    
    Add the dependency of @angular/localize in order to allow translating the website
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    4aa7512 View commit details
    Browse the repository at this point in the history
  3. Cria um comando para extrair os textos marcado para tradução

    Create a command to extract the string to be translated
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    f9800c5 View commit details
    Browse the repository at this point in the history
  4. Atualização automática do arquivo Polyfills

    Automatic update of Polyfills file
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    dfb7af1 View commit details
    Browse the repository at this point in the history
  5. Define o idioma principal como Português e Inglês (EUA) como alternativo

    Set Portuguese as main language and English (US) as an alternative
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    f16a7be View commit details
    Browse the repository at this point in the history
  6. Habilita a localização na build e define o nível de validação como erro

    Enable the localization in the build and set its validation level to error
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    19af1c9 View commit details
    Browse the repository at this point in the history
  7. Cria uma configuração de build para o idioma Inglês (EUA)

    Create a build configuration for English (US) language
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    7c7acad View commit details
    Browse the repository at this point in the history
  8. Cria uma configuração de servidor para o idioma Inglês (EUA)

    Create a serve configuration for English (US) language
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    c493dac View commit details
    Browse the repository at this point in the history
  9. Versiona arquivo de tradução para o idioma principal (Português)

    Versionate the translation file for the main language (Portuguese)
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    b37f013 View commit details
    Browse the repository at this point in the history
  10. Versiona arquivo de tradução para o Inglês (EUA)

    Versionate the translation file for the English (US)
    lguima committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    8dad2ce View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Mapeia um texto de teste para tradução

    Map a test string to translate
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    356f68d View commit details
    Browse the repository at this point in the history
  2. Cria arquivo de configuração do Netlify

    Create Netlify config file
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    c60957a View commit details
    Browse the repository at this point in the history
  3. Adiciona regra de redirecionamento para en-US

    Add redirect rule for en-US
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    ddca967 View commit details
    Browse the repository at this point in the history
  4. Atualiza regra de redirecionamento para pt

    Update redirect rule for pt
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    02a4b36 View commit details
    Browse the repository at this point in the history
  5. Remove a barra inicial da URL

    Remove initial slash from URL
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    9416ffd View commit details
    Browse the repository at this point in the history
  6. Remove a barra inicial da URL

    Remove initial slash from URL
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    b23f3fc View commit details
    Browse the repository at this point in the history
  7. Corrige o caminho dos assets

    Fix assets path
    lguima committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    7c750c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Corrige o caminho dos assets

    Fix assets path
    lguima committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b57a54d View commit details
    Browse the repository at this point in the history
  2. Corrige o caminho dos assets

    Fix assets path
    lguima committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    2233368 View commit details
    Browse the repository at this point in the history
  3. Redireciona os acessos para PT por padrão

    Redirect the accesses to PT as default
    lguima committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    677388a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Remove temporariamente as URLs criadas para en-US

    Remove temporarily the URLs created for en-US
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    6dbef99 View commit details
    Browse the repository at this point in the history
  2. Altera a ordem das regras de redirecionamento do Netlify

    Update the order of Netlify redirect rules
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    c6653c4 View commit details
    Browse the repository at this point in the history
  3. Atualiza regra de redirecionamento para en-US

    Update redirect rule for en-US
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    0f67f92 View commit details
    Browse the repository at this point in the history
  4. Troca o caminho absoluto por relativo

    Replace the absolute path with the relative one
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    089f48d View commit details
    Browse the repository at this point in the history
  5. Desabilita o redirecionamento de en-US

    Disable the en-US redirect
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    448b792 View commit details
    Browse the repository at this point in the history
  6. Define o idioma en-US como padrão

    Set en-US language as default
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    0eddba0 View commit details
    Browse the repository at this point in the history
  7. Define regra para redirecionamento para 'pt' quando houver o idioma n…

    …o browser
    
    Set a redirect rule for 'pt' when there is a language from the browser
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    142f718 View commit details
    Browse the repository at this point in the history
  8. Coloca a importação do módulo de rotas por último

    Place the route module import at the end
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    6cb8bcb View commit details
    Browse the repository at this point in the history
  9. Cria uma regra genérica para redirecionar para a página inicial

    Create a wildcard rule to redirect to the home page
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    1f8f803 View commit details
    Browse the repository at this point in the history
  10. Define o idioma 'pt' como default e redireciona para 'en-US' quando o…

    … navegador tiver o idioma 'en'
    
    Set the default language as 'pt' and redirect to 'en-US' when there is the 'en' language in the browser
    lguima committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    7bdf186 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Expõe a lista de idiomas e a localização atual

    Expose the language list and the current locale
    lguima committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    f63557d View commit details
    Browse the repository at this point in the history
  2. Cria links para os idiomas mapeados

    Create links to the mapped languages
    lguima committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c99eb74 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2023

  1. Troca o idioma en-US por en

    Replace the language en-US with en
    lguima committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    553c033 View commit details
    Browse the repository at this point in the history
  2. Troca o idioma en-US por en

    Replace the language en-US with en
    lguima committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    77fa2fb View commit details
    Browse the repository at this point in the history
  3. Troca o idioma en-US por en

    Replace the language en-US with en
    lguima committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    57b2033 View commit details
    Browse the repository at this point in the history
  4. Troca o idioma en-US por en

    Replace the language en-US with en
    lguima committed Oct 15, 2023
    Configuration menu
    Copy the full SHA
    d5425d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Atualiza o rótulo do idioma Português

    Update the label of Portuguese language
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3f2685f View commit details
    Browse the repository at this point in the history
  2. [WIP] Cria uma função para manipular a troca de idioma

    Create a function to handle the language switch
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    7867b27 View commit details
    Browse the repository at this point in the history
  3. [WIP] Renderiza o seletor de idioma

    Render the language switch
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    4f37276 View commit details
    Browse the repository at this point in the history
  4. [WIP] Utiliza o Location para redirecionar

    Use the Location to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    b4f5e65 View commit details
    Browse the repository at this point in the history
  5. [WIP] Utiliza o Router para redirecionar

    Use the Router to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    66a89af View commit details
    Browse the repository at this point in the history
  6. [WIP] Utiliza o Router para redirecionar

    Use the Router to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    cf68843 View commit details
    Browse the repository at this point in the history
  7. [WIP] Utiliza o Location para redirecionar

    Use the Location to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    b40d649 View commit details
    Browse the repository at this point in the history
  8. [WIP] Utiliza o Location para redirecionar

    Use the Location to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e1b449d View commit details
    Browse the repository at this point in the history
  9. [WIP] Monta uma URL simples para redirecionar

    Build a simple URL to redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e403922 View commit details
    Browse the repository at this point in the history
  10. [WIP] Simplifica o redirecionamento

    Simplify the redirect
    lguima committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    201596b View commit details
    Browse the repository at this point in the history
  11. Merge branch 'main' into i18n-poc

    Signed-off-by: Pedro Guimarães <[email protected]>
    tigreped authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    9ade55a View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Cria classe para itens além de âncoras no menu superior

    Create class for itens beside anchors on top menu
    lguima committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    1cdb97b View commit details
    Browse the repository at this point in the history
  2. Reestrutura o menu de idiomas

    Restructure the languages menu
    lguima committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    acc1890 View commit details
    Browse the repository at this point in the history
  3. Substitui CSS puro por classes utilitárias do TailwindCSS

    Replace pure CSS with utility classes from TailwindCSS
    lguima committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    b4d0ee1 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Atualiza o link para utilizar o router

    Update link to use the router
    lguima committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    4e328fa View commit details
    Browse the repository at this point in the history
  2. Atualiza o menu mobile

    Update the mobile menu
    lguima committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    bc9516a View commit details
    Browse the repository at this point in the history
  3. Atualiza o comando para rodar o projeto

    Update the command to run the project
    lguima committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    b92d51f View commit details
    Browse the repository at this point in the history
  4. Substitui o router por href

    Replace router with href
    lguima committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    850c64c View commit details
    Browse the repository at this point in the history
  5. Adiciona o atributo target

    Add the target attribute
    lguima committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    918a9d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Cria página 404

    Create 404 page
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    74ad73c View commit details
    Browse the repository at this point in the history
  2. Expõe a página 404

    Expose the 404 page
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    ea2578c View commit details
    Browse the repository at this point in the history
  3. Redireciona URLs não existentes para a página 404

    Redirect non-existing URLs to the 404 page
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    fba02aa View commit details
    Browse the repository at this point in the history
  4. Substitui o href pelo router

    Replace href with router
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    b9de69d View commit details
    Browse the repository at this point in the history
  5. Adiciona um ponto no início do caminho

    Add a dot at the beginning of the path
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    c2ee2ba View commit details
    Browse the repository at this point in the history
  6. Substitui o router por href

    Replace router with href
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    a21dc56 View commit details
    Browse the repository at this point in the history
  7. Adiciona outro ponto no início do caminho

    Add another dot at the beginning of the path
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    11e1aab View commit details
    Browse the repository at this point in the history
  8. Cria uma string para teste

    Create a string for testing
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    34515a6 View commit details
    Browse the repository at this point in the history
  9. Usa a string de teste como URL

    Use the testing string as URL
    lguima committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    fa5e788 View commit details
    Browse the repository at this point in the history
  10. Cria links com diversas possíveis soluções

    Create links with several possible solutions
    lguima authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    e179c49 View commit details
    Browse the repository at this point in the history
  11. Update header.component.html

    lguima authored Oct 31, 2023
    Configuration menu
    Copy the full SHA
    ba849e1 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Update netlify.toml

    lguima authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b61a28a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff7ba10 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7aaf0c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2839544 View commit details
    Browse the repository at this point in the history
  5. Remove código de teste

    Remove code for testing
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    31bcf95 View commit details
    Browse the repository at this point in the history
  6. Remove configuração de página 404

    Remove 404 page setup
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d16736d View commit details
    Browse the repository at this point in the history
  7. Remove página 404

    Remove 404 page
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ce7b051 View commit details
    Browse the repository at this point in the history
  8. Cria componente para página 404

    Create component for 404 page
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1a9aa30 View commit details
    Browse the repository at this point in the history
  9. Mapeia o componente para página 404

    Map the component for 404 page
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    bac8700 View commit details
    Browse the repository at this point in the history
  10. Define uma rota curinga para a página 404

    Set a wildcard route to the 404 page
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ca5b23f View commit details
    Browse the repository at this point in the history
  11. Define os itens do menu superior para serem traduzidos

    Set the top menu items to be translated
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    39a5041 View commit details
    Browse the repository at this point in the history
  12. Atualiza os arquivos de tradução

    Update the translation files
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    85cd6c4 View commit details
    Browse the repository at this point in the history
  13. Define o rótulo de troca de idioma para ser traduzidos

    Set the language switch lanel to be translated
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8b4bcef View commit details
    Browse the repository at this point in the history
  14. Atualiza os arquivos de tradução

    Update the translation files
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    fccdcbd View commit details
    Browse the repository at this point in the history
  15. Adiciona significado às strings mapeadas para tradução

    Add meaning to mapped strings to be translated
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b3b09e4 View commit details
    Browse the repository at this point in the history
  16. Atualiza os arquivos de tradução

    Update the translation files
    lguima committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    def501a View commit details
    Browse the repository at this point in the history