Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added localized resources #492

Closed
wants to merge 1 commit into from

5 participants

Tom Tao Wang Simon Vig Therkildsen Sergey Shatunov Jake Wharton
Tom

Added localized resources for the top 10 most common languages for a total of 100 string resources.

Tom androidmoney Added localized resources
Added localized resources for the top 10 most common languages
f9abf0e
Tao Wang

Why this commit is not pulled? It's very handy for apps with multiple language, otherwise {"abs__xxxx" is not translated in xx} error will be thrown during export apk. It doesn't hurt anything, so please pull.

Simon Vig Therkildsen
Collaborator

This should either be a complete commit which includes all languages in AOSP, or people should manually include strings for languages they support. Just adding 10 is kind of half-assed.

Sergey Shatunov

Mmm... For HoloEverywhere i develop "Translator" - grabber of strings from AOSP.
May be run once it for ABS?

Jake Wharton
Owner

I don't want this in the core library. ABS is large enough. If people truly want this it can exist in a parallel library project.

Jake Wharton
Owner

Please re-submit as another top-level module called library-i18n with all AOSP languages included. A script to parse used strings and keep this new module up-to-date given a path to an AOSP clone would also be nice.

Jake Wharton JakeWharton closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 24, 2012
  1. Tom

    Added localized resources

    androidmoney authored
    Added localized resources for the top 10 most common languages
This page is out of date. Refresh to see the latest.
32 library/res/values-de/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Zur Startseite navigieren"</string>
+ <string name="abs__action_bar_up_description">"Nach oben navigieren"</string>
+ <string name="abs__action_menu_overflow_description">"Weitere Optionen"</string>
+ <string name="abs__action_mode_done">"Fertig"</string>
+ <string name="abs__activity_chooser_view_see_all">"Alle anzeigen..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Aktion auswählen"</string>
+ <string name="abs__share_action_provider_share_with">"Teilen mit..."</string>
+ <string name="abs__activitychooserview_choose_application">"App wählen"</string>
+ <string name="abs__shareactionprovider_share_with">"Teilen mit"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Mit <xliff:g id="APPLICATION_NAME">%s</xliff:g> teilen"</string>
+</resources>
32 library/res/values-es/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Ir al escritorio"</string>
+ <string name="abs__action_bar_up_description">"Desplazarse hacia arriba"</string>
+ <string name="abs__action_menu_overflow_description">"Más opciones"</string>
+ <string name="abs__action_mode_done">"Listo"</string>
+ <string name="abs__activity_chooser_view_see_all">"Ver todo..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Seleccionar actividad"</string>
+ <string name="abs__share_action_provider_share_with">"Compartir con..."</string>
+ <string name="abs__activitychooserview_choose_application">"Seleccionar una aplicación"</string>
+ <string name="abs__shareactionprovider_share_with">"Compartir con"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Compartir con <xliff:g id="APPLICATION_NAME">%s</xliff:g>"</string>
+</resources>
32 library/res/values-fr/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Retour à l\'accueil"</string>
+ <string name="abs__action_bar_up_description">"Parcourir vers le haut"</string>
+ <string name="abs__action_menu_overflow_description">"Plus d\'options"</string>
+ <string name="abs__action_mode_done">"OK"</string>
+ <string name="abs__activity_chooser_view_see_all">"Tout afficher..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Sélectionner une activité"</string>
+ <string name="abs__share_action_provider_share_with">"Partager avec..."</string>
+ <string name="abs__activitychooserview_choose_application">"Sélectionnez une application"</string>
+ <string name="abs__shareactionprovider_share_with">"Partager avec"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Partager avec <xliff:g id="APPLICATION_NAME">%s</xliff:g>"</string>
+</resources>
32 library/res/values-it/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Vai alla home page"</string>
+ <string name="abs__action_bar_up_description">"Vai in alto"</string>
+ <string name="abs__action_menu_overflow_description">"Altre opzioni"</string>
+ <string name="abs__action_mode_done">"Fine"</string>
+ <string name="abs__activity_chooser_view_see_all">"Mostra tutto..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Seleziona attività"</string>
+ <string name="abs__share_action_provider_share_with">"Condividi con..."</string>
+ <string name="abs__activitychooserview_choose_application">"Scegli un\'applicazione"</string>
+ <string name="abs__shareactionprovider_share_with">"Condividi con"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Condividi con <xliff:g id="APPLICATION_NAME">%s</xliff:g>"</string>
+</resources>
32 library/res/values-ja/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"ホームへ移動"</string>
+ <string name="abs__action_bar_up_description">"上へ移動"</string>
+ <string name="abs__action_menu_overflow_description">"その他のオプション"</string>
+ <string name="abs__action_mode_done">"完了"</string>
+ <string name="abs__activity_chooser_view_see_all">"すべて見る..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"操作の選択"</string>
+ <string name="abs__share_action_provider_share_with">"共有相手..."</string>
+ <string name="abs__activitychooserview_choose_application">"アプリの選択"</string>
+ <string name="abs__shareactionprovider_share_with">"共有"</string>
+ <string name="abs__shareactionprovider_share_with_application">"<xliff:g id="APPLICATION_NAME">%s</xliff:g>と共有"</string>
+</resources>
32 library/res/values-ko/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"홈 탐색"</string>
+ <string name="abs__action_bar_up_description">"위로 탐색"</string>
+ <string name="abs__action_menu_overflow_description">"옵션 더보기"</string>
+ <string name="abs__action_mode_done">"완료"</string>
+ <string name="abs__activity_chooser_view_see_all">"전체 보기..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"작업 선택"</string>
+ <string name="abs__share_action_provider_share_with">"공유 대상..."</string>
+ <string name="abs__activitychooserview_choose_application">"애플리케이션 선택"</string>
+ <string name="abs__shareactionprovider_share_with">"공유 대상:"</string>
+ <string name="abs__shareactionprovider_share_with_application">"<xliff:g id="APPLICATION_NAME">%s</xliff:g>와(과) 공유"</string>
+</resources>
32 library/res/values-pt/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Navegar na página inicial"</string>
+ <string name="abs__action_bar_up_description">"Navegar para cima"</string>
+ <string name="abs__action_menu_overflow_description">"Mais opções"</string>
+ <string name="abs__action_mode_done">"Concluído"</string>
+ <string name="abs__activity_chooser_view_see_all">"Ver todos..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Selecionar atividade"</string>
+ <string name="abs__share_action_provider_share_with">"Compartilhar com..."</string>
+ <string name="abs__activitychooserview_choose_application">"Escolha um aplicativo"</string>
+ <string name="abs__shareactionprovider_share_with">"Compartilhar com"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Compartilhar com <xliff:g id="APPLICATION_NAME">%s</xliff:g>"</string>
+</resources>
32 library/res/values-ru/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"Перейти на главную"</string>
+ <string name="abs__action_bar_up_description">"Перейти вверх"</string>
+ <string name="abs__action_menu_overflow_description">"Ещё"</string>
+ <string name="abs__action_mode_done">"Готово"</string>
+ <string name="abs__activity_chooser_view_see_all">"Просмотреть все"</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"Выбор действия"</string>
+ <string name="abs__share_action_provider_share_with">"Настройка доступа"</string>
+ <string name="abs__activitychooserview_choose_application">"Выберите приложение"</string>
+ <string name="abs__shareactionprovider_share_with">"Открыть доступ:"</string>
+ <string name="abs__shareactionprovider_share_with_application">"Открыть доступ приложению \"<xliff:g id="APPLICATION_NAME">%s</xliff:g>\""</string>
+</resources>
32 library/res/values-zh-rCN/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"导航首页"</string>
+ <string name="abs__action_bar_up_description">"向上导航"</string>
+ <string name="abs__action_menu_overflow_description">"更多选项"</string>
+ <string name="abs__action_mode_done">"完成"</string>
+ <string name="abs__activity_chooser_view_see_all">"查看全部..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"选择活动"</string>
+ <string name="abs__share_action_provider_share_with">"分享方式..."</string>
+ <string name="abs__activitychooserview_choose_application">"选择一个应用程序"</string>
+ <string name="abs__shareactionprovider_share_with">"共享对象"</string>
+ <string name="abs__shareactionprovider_share_with_application">"与“<xliff:g id="APPLICATION_NAME">%s</xliff:g>”共享"</string>
+</resources>
32 library/res/values-zh-rTW/abs__strings.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/* //device/apps/common/assets/res/any/strings.xml
+**
+** Copyright 2006, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+ -->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="abs__action_bar_home_description">"瀏覽首頁"</string>
+ <string name="abs__action_bar_up_description">"向上瀏覽"</string>
+ <string name="abs__action_menu_overflow_description">"更多選項"</string>
+ <string name="abs__action_mode_done">"完成"</string>
+ <string name="abs__activity_chooser_view_see_all">"查看所有活動..."</string>
+ <string name="abs__activity_chooser_view_dialog_title_default">"選取活動"</string>
+ <string name="abs__share_action_provider_share_with">"分享活動..."</string>
+ <string name="abs__activitychooserview_choose_application">"選擇應用程式"</string>
+ <string name="abs__shareactionprovider_share_with">"分享對象:"</string>
+ <string name="abs__shareactionprovider_share_with_application">"與「<xliff:g id="APPLICATION_NAME">%s</xliff:g>」分享"</string>
+</resources>
Something went wrong with that request. Please try again.